DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: window hdc or hwnd

  1. #1
    Jreg (Glenn) Guest

    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)



  2. #2
    Mark Whitelaw Guest

    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.


  3. #3
    Mark Whitelaw Guest

    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.


  4. #4
    Jreg (Glenn) Guest

    Re: window hdc or hwnd

    thanks.



  5. #5
    Jreg (Glenn) Guest

    Re: window hdc or hwnd

    thanks.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center