Mood: surprised
Topic: VC++
Ever wondered how to create an always on top dialog! Here, take a look. :) ::SetWindowPos(m_hWnd /*Handle to the window*/, HWND_TOPMOST /*Places the window at the top of the Z-Order*/, 0 /*New x*/, 0 /*New y*/, 0 /*New Width*/, 0 /*New Height*/, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE/*Flags*/ ); Now you might be wondering how to remove this feature. Just replace HWND_TOPMOST with HWND_NOTOPMOST Happy days ahead.
Posted by Nibu babu thomas
at 2:08 PM
Updated: Monday, 21 November 2005 2:12 PM