[gme-users] modeless dialog box

Rajesh Sudarsan sudarsar at cis.uab.edu
Thu Jun 24 18:22:05 CDT 2004


Hi Peter,
Thanks for the reply. I have one other question. In the Find utility in
GME, when you double click on the results, the corresponding component
opens up. Is it possible to implement the same feature from a plug-in
using BON?

Regards,
Rajesh

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Peter
Volgyesi
Sent: Thursday, June 24, 2004 3:11 AM
To: 'A list for GME users to share thoughts and discuss bugs and fixes.'
Subject: RE: [gme-users] modeless dialog box

Generally, it is not recommended to create a non-modal dialog box in
your
component:
- in a plug-in or in an interpreter it is prohibited to create such a
window
because of the general flow of control in such components. After
returning
from your component (InvokeEx() returns) there should be no interpreter
windows lingering around.
- you might create a modeless window in an BON2 add-on, but I don't have
too
much experience with this

The second part of your question is not GME releated but a general MFC
issue:
http://www.codeproject.com/dialog/gettingmodeless.asp

--
peter


> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu 
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf 
> Of Rajesh Sudarsan
> Sent: Thursday, June 24, 2004 1:41 AM
> To: 'A list for GME users to share thoughts and discuss bugs 
> and fixes.'
> Subject: [gme-users] modeless dialog box
> 
> 
> Hi,
> Is it possible to create a modeless MFC dialog box using a 
> plug-in written in BON? I am not able to instantiate a MFC 
> dialog box as a modeless window. The only way I can 
> instantiate it is using DoModal() method.
> 
> Regards,
> Rajesh
> 
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users

_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users



More information about the gme-users mailing list