CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2004
    Location
    Pakistan
    Posts
    466

    Question Obtain handle of first child in a window

    I there anyway we can obtain HWND hanlde to first child of a window? where we have HWND handle of parent window only.

    Is there anything like find_window or something ? which can return me handle to first child.

    Any help is highly appreciated.

    regards

  2. #2
    Join Date
    Feb 2005
    Location
    Normandy in France
    Posts
    4,590

    Re: Obtain handle of first child in a window


  3. #3
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: Obtain handle of first child in a window

    Quote Originally Posted by SuperKoko
    Better:

    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  4. #4
    Join Date
    Nov 2004
    Location
    Pakistan
    Posts
    466

    Re: Obtain handle of first child in a window

    Thank you for your answers guys

    GetWindow() worked much better and perfectly returned the handle to first drawn control on a dialog.

    regards

  5. #5
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: Obtain handle of first child in a window

    Quote Originally Posted by Ali Imran
    Thank you for your answers guys

    GetWindow() worked much better and perfectly returned the handle to first drawn control on a dialog.

    regards
    You are very welcome...
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured