Click to See Complete Forum and Search --> : Always having the foreground


chals1
November 26th, 2008, 03:33 PM
How can I prevent a form from loosing the foreground ?
I haven't been able to get it to work with any of this functions
SetForegroundWindow, BringWindowToTop, SetActiveWindow

Russco
November 27th, 2008, 10:04 AM
Look at SetWindowPos (http://msdn.microsoft.com/en-us/library/ms633545(VS.85).aspx) particularly the HWND_TOPMOST parameter.