Also, you could be seriously jacking up your window position, if it is already positioned near the upper left corner with only a little bit of the lower right corner showing. I strongly recommend something like: this->SetWindowPos( &CWnd::wndTopMost,10,10, Rect.right - Rect.left, // its width Rect.bottom - Rect.Top, // its height SWP_SHOWWINDOW); Or even this->SetWindowPos( &CWnd::wndTopMost,10,10, max(Rect.right - Rect.left, 100), // its width max(Rect.bottom - Rect.Top, 100), // its height SWP_SHOWWINDOW); If you are REALLY paranoid, like me :omg: