tags:

views:

139

answers:

1

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
Yep, SetForegroundWindow(HWND) worked fine. Sometimes the library is just too big to find the function you need.
YoungPony