Hello, AppActivate seems to be what i need, I am fairly sure there must be an c++/mfc equivalent. Thanks.
+2
A:
You can try these:
SetForegroundWindow(FindWindow(NULL, "window title"));
// or
SetForegroundWindow(AfxGetMainWnd());
Nick D
2009-10-22 08:39:58
Yep, SetForegroundWindow(HWND) worked fine. Sometimes the library is just too big to find the function you need.
YoungPony
2009-10-22 09:56:44