Page 1 of 1

Gapidraw .NET : How to get the Handle?

PostPosted: Aug 5, 2003 @ 6:12pm
by Alexandre

PostPosted: Aug 5, 2003 @ 9:20pm
by Mr X
Not easily. You don't usually need the handle for gapidraw.net as the OpenDisplay functions can take the window title rather than the handle.

IIRC getting the handle is a pain in dot net. You have to do something like FindWindow (which probably requires p/invoke) to do it.

Unless you need the handle somewhere else, don't worry about it and use the title instead. That is how the GapiApplication class does it.

Sean

PostPosted: Aug 6, 2003 @ 12:28pm
by Alexandre