Knowledge Base Nr: 00134 showwindow.cpp - http://www.swe-kaiser.de

Win32/MFC: Applikation in den Vordergrund schalten

  
CWnd* pWnd = AfxGetMainWnd();

pWnd->SetWindowPos(&wndTopMost, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE);