GetWindow Flags

Const GW_HWNDFIRST = 0
Const GW_HWNDLAST = 1
Const GW_HWNDNEXT = 2
Const GW_HWNDREV = 3
Const GW_OWNER = 4
Const GW_CHILD = 5

The GetWindow flags specify a relationship between a given window and the window that will be returned. They cannot be combined, for obvious reasons.

GW_HWNDFIRST
The highest window in the Z-order having the same parent as the given window.
GW_HWNDLAST
The lowest window in the Z-order having the same parent as the given window.
GW_HWNDNEXT
The window below the given window in the Z-order.
GW_HWNDPREV
The window above the given window in the Z-order.
GW_OWNER
The window that owns the given window (not to be confused with the parent window).
GW_CHILD
The topmost of the given window's child windows. This has the same effect as GetTopWindow.

Used by: GetWindow
Back to the index.


Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/constants/getwindowflags.html