RE: [GD-Windows] getmainwindow...
Brought to you by:
vexxed72
From: Leath M. <Lea...@en...> - 2001-12-05 23:33:32
|
I missed the start of this thread -- are you after the main application window? If your in MFC, why not AfxGetMainWnd(), or if not, maybe look at the MFC source for that call? > 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! Leathal. |