hello.
is there a (simple) function that returns a handle to the main window (of type HWND) of a c++/mfc program ?
i tried using the Process.MainWindowHandle property and the IConsole2::GetMainWindow() method but couldn't quite get either of them to work...
thanks, b.
is there a (simple) function that returns a handle to the main window (of type HWND) of a c++/mfc program ?
i tried using the Process.MainWindowHandle property and the IConsole2::GetMainWindow() method but couldn't quite get either of them to work...
thanks, b.