DialogShell

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
DialogShell

Submitted by Anonymous on Wed, 03/07/2001 - 22:32. Developers
I created an XmDialogShell. Within that DialogShell I added a option menu. However I can not activate my option menu (nothing happen when I clicked on the option menu)
Can anyone explain to me why??
Any what is the solution ??
Thanks

ICS_support

Put this in the column for things that should work but don`t. I can imagine that there is a reason -- most dialog systems expect that the top-level child of the XmDialogShell is an instance of an XmBulletinBoard or of its subclasses such as XmForm. The XmBulletinBoard has resources for dialog display and management; and, in fact, it internally handles some of the event routing (for example, it forwards the Return key press to the current default button). I wouldn`t be surprised if having an XmRowColumn in there -- and that is what the XmOptionMenu is -- is causing events to be lost. The solution is to insert an XmBulletinBoard in the hierarchy; you may also want to see XmCreateTemplateDialog().