RE: [GD-Windows] getmainwindow...
Brought to you by:
vexxed72
From: Brian S. <bs...@mi...> - 2001-12-05 22:10:09
|
Or call EnumWindows to iterate over all top-level windows and look for a window whose process id matches GetCurrentProcessId(). Or an instance handle that matches your current instance handle. Or...we could just go on all day like this, couldn't we! --brian -----Original Message----- From: Brian Sharon [mailto:bs...@mi...]=20 Sent: Wednesday, December 05, 2001 1:43 PM To: gabor farkas; gam...@li... Subject: RE: [GD-Windows] getmainwindow... If you have a child window handle, you can repeatedly call GetParent() until it returns NULL. Don't know if that's the "authorized" way, but it works for me. --brian -----Original Message----- From: gabor farkas [mailto:xl...@po...]=20 Sent: Wednesday, December 05, 2001 1:19 PM To: gam...@li... Subject: [GD-Windows] getmainwindow... hi, is there in winapi something like getmainwindow()?. i want to get somehow the window-handle of the main-window of the application... thanks, gabor farkas _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows _______________________________________________ Gamedevlists-windows mailing list Gam...@li... https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows |