Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Get handle for last active window for SetForeGroundWindow

0 views
Skip to first unread message

werD

unread,
Jun 2, 2009, 9:28:01 PM6/2/09
to
Pardon my ignorance, but is there a way to get the handle to the last active
window(i.e. the window below my form in the zorder)? Ive got a minimize
method, and I want to set the last active window to to the foreground.

Thanks in advance

DrewG

Michael Salamone

unread,
Jun 3, 2009, 4:33:09 AM6/3/09
to
Check GetWIndow API. http://msdn.microsoft.com/en-us/library/aa929220.aspx

GetWindow(yourhwnd, GW_HWNDNEXT)

--
Michael Salamone
Entrek Software, Inc.
www.entrek.com


"werD" <we...@discussions.microsoft.com> wrote in message
news:78E06BDF-D46D-48A1...@microsoft.com...

0 new messages