PDA

Click to See Complete Forum and Search --> : How to get the "hWnd" of a button of Toolbar.


iProgram
Oct 3rd, 2000, 10:05 PM
How to get the "hWnd" of a button of Toolbar.
Use FindWindow API? What the two parameters of it?

Oct 4th, 2000, 05:03 PM
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.