void ToggleTopMost(CWnd* pWnd) { if (pWnd->GetExStyle() & WS_EX_TOPMOST) pWnd->SetWindowPos(&wndNoTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE); else pWnd->SetWindowPos(&wndTopMost, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE); }
MFC
TopMost
Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/C++/(MFC)CWnd를 TopMost로 만들기
last modified 2013-10-21 14:12:57