This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Gapidraw .NET : How to get the Handle?


Gapidraw .NET : How to get the Handle?

Postby Alexandre » Aug 5, 2003 @ 6:12pm

Alexandre
 


Postby Mr X » Aug 5, 2003 @ 9:20pm

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
Sean Cross
mailto:sean@sourceitsoftware.com

Pics Print - The photo printing solution for Windows.
http://www.picsprint.com

Rental Property Manager - Rental management made easy
http://www.sourceitsoftware.com
User avatar
Mr X
pm Member
 
Posts: 240
Joined: Feb 27, 2003 @ 11:36am


Postby Alexandre » Aug 6, 2003 @ 12:28pm

Alexandre
 


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum