Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
GW - GetWindow() Constants (Constants)
 
.
Summary
Specifies the relationship between the specified window and the window whose handle is to be retrieved.

C# Constants:

        public class GetWindowConstants {
            public const uint GW_HWNDFIRST = 0;
            public const uint GW_HWNDLAST = 1;
            public const uint GW_HWNDNEXT = 2;
            public const uint GW_HWNDPREV = 3;
            public const uint GW_OWNER = 4;
            public const uint GW_CHILD = 5;
            public const uint GW_ENABLEDPOPUP = 6;
            public const uint GW_MAX = 6;
        }

        //Windows version <= 0x0400
        public class GetWindowConstantsObsolete {
            public const uint GW_HWNDFIRST = 0;
            public const uint GW_HWNDLAST = 1;
            public const uint GW_HWNDNEXT = 2;
            public const uint GW_HWNDPREV = 3;
            public const uint GW_OWNER = 4;
            public const uint GW_CHILD = 5;
            public const uint GW_MAX = 5;
        }

VB Constants:

Public Enum GetWndConsts
    GW_HWNDFIRST = 0
    GW_HWNDLAST = 1
    GW_HWNDNEXT = 2
    GW_HWNDPREV = 3
    GW_OWNER = 4
    GW_CHILD = 5
    GW_ENABLEDPOPUP = 6
    GW_MAX = 6
End Enum

Notes:

None.

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it!

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions