-
window hdc or hwnd
was wondering if there is an api call that will list the hdc or hwnd for all
of the open windows
thanks in advance
Glenn (jreg)
-
Re: window hdc or hwnd
"Jreg (Glenn)" <Jedireg@usa.net> wrote:
>was wondering if there is an api call that will list the hdc or hwnd for
all
>of the open windows
>
>
>thanks in advance
>Glenn (jreg)
>
>
Basically:
use the GetDesktopWindow and GetWindow API call - use GetDesktopWindow()
first then use GetWindow(hwndDTop, GW_CHILD) -to get the first child window
then use GetWindow(hwnd,GW_HWNDNEXT) until it returns 0.
-
Re: window hdc or hwnd
"Jreg (Glenn)" <Jedireg@usa.net> wrote:
>was wondering if there is an api call that will list the hdc or hwnd for
all
>of the open windows
>
>
>thanks in advance
>Glenn (jreg)
>
>
Basically:
use the GetDesktopWindow and GetWindow API call - use GetDesktopWindow()
first then use GetWindow(hwndDTop, GW_CHILD) -to get the first child window
then use GetWindow(hwnd,GW_HWNDNEXT) until it returns 0.
-
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|