Title: | DECWINDOWS |
Notice: | DECwindows Motif V1.2-4 SSB kits: note 5519 |
Moderator: | GRIM::MESSENGER |
Created: | Wed Nov 28 1990 |
Last Modified: | Fri Jun 06 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5861 |
Total number of notes: | 24081 |
How does one add a Callback for the Close window menu item in a window that does NOT have the VendorShell Class in its inheritance hierarchy? I have a XmFormDialog widget (from a UIL file), that when I attempt to call XmAddProtocolCallback for the WM_DELETE_WINDOW atom, causes a "must be a vendor shell" warning to get written out to the display. I want to handle the close myself. Thanx, Jon. Belanger
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
5759.1 | GERUND::WOLFE | I'm going to huff, and puff, and blow your house down | Tue Jan 28 1997 13:02 | 4 | |
UIL is putting the XmForm in a dialog shell for you. Try using XtParent of the form for the call to XmAddProtocolCallback. Pete | |||||
5759.2 | That is what it needed, thanx. | EDSCLU::BELANGER | DEBUGGING. The art of creating better bugs! | Wed Jan 29 1997 08:46 | 4 |
Thanx, that was it. ~Jon. |