home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vtserf!creatures!vtopus.cs.vt.edu!tlee
- From: tlee@vtopus.cs.vt.edu (Timothy Lee)
- Newsgroups: comp.windows.x.motif
- Subject: Dialog and Menu push button questions
- Message-ID: <4001@creatures.cs.vt.edu>
- Date: 8 Jan 93 23:24:13 GMT
- Sender: usenet@creatures.cs.vt.edu
- Reply-To: tlee@vtopus.cs.vt.edu (Timothy Lee)
- Organization: Virginia Polytechnic Institute & State University
- Lines: 32
-
-
- I have two problems:
-
- 1) Goal: I am trying to put up a message dialog w/ a "Please wait..." message
- while my program is processing. After calculation, I remove the dialog and
- put up a window with results.
- Problem: All I got is a dialog that's not fully displayed (a partial dialog
- with no message inside). The dialog only contains message when my calculations
- are completely done, which defeats the purpose of message dialog.
-
- Skeleton:
- [omitted]
- message = XmCreateMessageDialog ((Widget) parent, "message", arg, i);
- XtManageChild (message);
-
- codes...(includes some interface code to bring up the results)
- (create soem widgets...)
-
- XtUnmanageChild (message);
-
- codes
- (manage the created widgets & displays resutls...)
-
- What's wrong?
-
- 2) Goal: Given a pull-down menu, I want to mark the items that are active.
- It seems X can include a bitmap with XtNleftBitmap, but not Motif. How can
- I accomplish this?
-
- Thanks.
-
- Tim Lee tlee@csgrad.cs.vt.edu
-