[gme-users] Creating custom windows in GME

Kevin Smyth ksmyth at isis.vanderbilt.edu
Wed Dec 11 09:19:22 CST 2013


Hi James,

This seems like a bad idea, but I can't think of a reason that it 
couldn't work. You'll need to be careful: you may need to AddRef your 
interpreter, and/or LoadLibrary your dll. Also, the user could close the 
project, so you'd need to handle that case too.

Kevin

On 12/10/2013 6:38 PM, James H. Hill wrote:
> Hi Kevin,
>
> On Dec 11, 2013, at 10:20 AM, Kevin Smyth <ksmyth at isis.vanderbilt.edu> wrote:
>
>> Hi James,
>>
>> It is not possible to create your own "dockable" window in GME. However,
>> you can create a separate window in an interpreter. Be sure that the MGA
>> project is not in a transaction when pumping messages, or else clicking
>> on the model in GME will fail.
> Just for clarification, the window will remain around as long as the interpreter is active. Once the window is closed, the interpreter will exit. Or, is it possible to keep the window around after the interpreter has exited?
>
> Thanks,
>
> James
>
>> Kevin
>>
>> On 12/10/2013 4:41 PM, James H. Hill wrote:
>>> Hi,
>>>
>>> Is it possible to create your own windows in GME, similar to the Console window, without having to change the GME source code? The window should be able to remain open while the model is being used.
>>>
>>> Thanks,
>>>
>>> James
>>> _______________________________________________
>>> 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
> _______________________________________________
> 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