How do i get all the child windows of a window


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How do i get all the child windows of a window

  1. #1
    Steven Koeppel Guest

    How do i get all the child windows of a window

    Hi,

    I need to find all the child windows of a certain window (I have it's hwnd)
    and then find the title of all those windows (I already know how to do
    that). Now I found out that there's FindWindowEx and EnumChildWindows. Which
    one is better or more reliable? Does anyone have some sample code? Or a link
    to a good website on this?

    Thanks,
    Steven Koeppel



  2. #2
    Karl E. Peterson Guest

    Re: How do i get all the child windows of a window

    Hi Steven --

    > I need to find all the child windows of a certain window (I have it's hwnd)
    > and then find the title of all those windows (I already know how to do
    > that). Now I found out that there's FindWindowEx and EnumChildWindows. Which
    > one is better or more reliable? Does anyone have some sample code? Or a link
    > to a good website on this?


    I like EnumChildWindows better, myself, unless I'm looking for something specific.
    There's an example -- PassSniff.zip -- on my site.

    http://www.mvps.org/vb/samples.htm

    Later... Karl
    --
    [Microsoft Basic: 1976-2001, RIP]




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