[gme-users] modeless dialog for GME plug-in

Zoltan Molnar zolmol at isis.vanderbilt.edu
Mon Aug 7 11:44:42 CDT 2006

A BON interpreter is executed within a transaction. That's why the users
are not aware of transactions at all, because it is hidden from them. 
If a modeless dialog box is within the transaction boundary then it
should be Ok.
So if you implement a modeless dialog that you allow the user to make
operations in your dialog and in your model as well, and the dialog
controls operate on the model, then you must do all such operations
inside one or more transactons. See Rawcomponents and ComponentObj.cpp's
InvokeEx method for details.
br, Zoli
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Jane
Sent: Thursday, August 03, 2006 9:45 AM
To: gme-users
Subject: [gme-users] modeless dialog for GME plug-in


Currently I need to create a modeless dialog for my GME plug-in. Has
done this successfully before? There seem to be some valid reasons for
wanting to do this (such as a dialog whose input can drive changes
the scope of a current model in focus).

Unfortunately, I am encountering a problem when I try to make a modeless
dialog. The modeless dialog showed up and seemed to work. But the
problem is
the GME might crash when I operated on the dialog. Other times, I got a
general error message when I later closed GME.

It would be appreciated if someone can share such experiences in
modeless dialogs. If those are frowned upon in plugins, can someone
alternative ways that have been used?

Thanks for any help!

Yuehua (Jane) Lin
Department of Computer and Information Sciences
University of Alabama at Birmingham
liny at cis.uab.edu 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20060807/aa7e49f6/attachment.htm

More information about the gme-users mailing list