Results 1 to 2 of 2

Thread: How to get the "hWnd" of a button of Toolbar.

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    China
    Posts
    25

    Question

    How to get the "hWnd" of a button of Toolbar.
    Use FindWindow API? What the two parameters of it?

  2. #2
    Guest
    Depends on what class the ToolBar is. Some don't even have hWnd's for their Buttons.

    None the less, use FindWindowEx instead of FindWindow as it cannot retireve child windows whereas FindWindowEx can.

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