home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / motif / 8742 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.9 KB

  1. Xref: sparky comp.windows.x.motif:8742 comp.os.vms:21659 comp.windows.x:21446
  2. Newsgroups: comp.windows.x.motif,comp.os.vms,comp.windows.x
  3. Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!mprgate.mpr.ca!vli
  4. From: vli@mpr.ca (Vincent Li)
  5. Subject: event flags in X/Motif
  6. Message-ID: <1993Jan22.000239.1435@mprgate.mpr.ca>
  7. Sender: news@mprgate.mpr.ca
  8. Organization: MPR Teltech Ltd., Burnaby, B.C., Canada
  9. Date: Fri, 22 Jan 93 00:02:39 GMT
  10. Lines: 28
  11.  
  12. Hi Folks,
  13.    I'm running on VMS 5.5-1, Motif 1.0 (I think).
  14.    Got 3 questions I can't find in the FAQ's
  15.  
  16. 1) Could my X/Motif application exe generated in this environment be able to
  17.    run under VMS5.5-1 with DECwindows with XUI? If not, what should I look
  18.    out for? I've seen some discussions concerning DECwindows & Motif already,
  19.    but couldn't figure out a clear yes/no on this issue.
  20. 2) A real easy one, how do I ghost out a button (pushbutton widget/gadget) to
  21.    prevent unprivileged user from selecting an option?
  22. 3) Can I have my Motif application be notified when a VMS event flag is set?
  23.    (ie. one you get with sys$getef.) I've seen codes to work with VMS mailboxes
  24.    before, but I would like, and have, all those $QIO code hidden well away.
  25.    All my application does is make a call to connect and pass an event flag
  26.    as the parameter. When something is in the mailbox, for example, the event
  27.    flag get set. Currently, I simply wait for the event flags in the main line.
  28.    (For some uses, I have an AST set the event flag which I wait for in the
  29.    mainline.) Is there a way I can tell the X server the event flag set is an
  30.    X event and add a callback of some kine to process it, or am I stuck with
  31.    the processing in AST (which I can do now)?
  32.  
  33. Thanks in advance.
  34.  
  35. -- Vince
  36.  
  37. ---------------------------------------
  38. vli@mprgate.mpr.ca        |-) It works well under pressure: Another thing
  39.                           |-] you can say about your pillow. -- Mr Boffo
  40.