hWnd
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
This is probably really simple. Say I've got a window frmMain. How do I get a handle for that window?? Cheers
use api functions findwindow or findwindowex http://www.mentalis.org/apilist/FindWindow.shtml[^] http://www.mentalis.org/apilist/FindWindowEx.shtml[^] They have good examples and explanation there. "If i was king cigarettes would be free."
-
This is probably really simple. Say I've got a window frmMain. How do I get a handle for that window?? Cheers
Even easier...
Dim myWindowHandle As IntPrt = frmMain.Handle
RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome