Click to See Complete Forum and Search --> : How to activate an opened (minimized/not top of z order) window


Icyculyr
September 13th, 2008, 03:52 AM
Can anyone tell me how I can set focus to, and bring to the front of the Z order of windows, a specific window? via it's handle

Cheers
Icyculyr

Marc G
September 13th, 2008, 05:42 AM
Checkout SetForegroundWindow (http://msdn.microsoft.com/en-us/library/ms633539(VS.85).aspx) and read the remarks section.
If the window is minimized, you might first need to unminize it using for example ShowWindow.