[gme-users] Create/Open/Manage Sub-window in GME

Christopher vanBuskirk Chris.vanBuskirk at vanderbilt.edu
Thu Sep 17 12:05:22 CDT 2009


The section on "scripting GME" in the users' manual is related also.


On Sep 17, 2009, at 10:28 AM, Csaba Toth wrote:

> Hi Ioannis,
>
> I haven't ever done such things, but as far as I can see:
> For opening a model see ShowFCO function on IGMEOLEApp interface. For
> example code see Kevin Smyth's letter.
>         [id(33)] HRESULT ShowFCO([in] IMgaFCO* mgaFCO, [in,
> defaultvalue(0)] VARIANT_BOOL inParent);
> You can close models with the Close function of IGMEOLEIt interface.
>         [id(11)] HRESULT Close();
> For iteration see this on IGMEOLEApp:
>         [propget, id(40)] HRESULT OleIt([out, retval] IGMEOLEIt **
> mgamodel);
> For navigation between open models you can use ShowFCO or Next/Prev
> functions of IGMEOLEIt:
>         [helpstring("makes the next (if any) view (opened model) the
> active view ")]
>         HRESULT Next();
>         HRESULT Prev();
>
> Hope this helps,
> Csaba
>
> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of  
> Ioannis
> Ntalamagkas
> Sent: Thursday, September 17, 2009 5:15 AM
> To: gme-users
> Subject: [gme-users] Create/Open/Manage Sub-window in GME
>
> Hi everyone
>
> I am developing an interpreter for a model that has containment
> relationship. I would like to ask whether I can programmatically  
> control
>
> GME within my interpreter to open/close/set focus a new sub-window or
> tab (in GME9) to display part of the model I am interested in.
>
> Thank you in advance.
>
> --
> Ioannis Ntalamagkas
> 2.71 Kilburn Building
> The University of Manchester
> M13 9PL
> UK
>
> _______________________________________________
> 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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20090917/fbe01d15/attachment.html 


More information about the gme-users mailing list