#keywords MFC,TopMost {{{#!gcode 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); } }}} ---- {{{ }}}