How to get the "hWnd" of a button of Toolbar.
Use FindWindow API? What the two parameters of it?
Printable View
How to get the "hWnd" of a button of Toolbar.
Use FindWindow API? What the two parameters of it?
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.