|
-
February 2nd, 2004, 05:24 PM
#1
handle of button on CToolbar
Hi all!
I have CToolBar and 3 buttons on it (ID_BUTTON1, ID_BUTTON2, ID_BUTTO3)
Could you please tell me how to retrieve handles of these buttons?
Thx a lot
-
February 2nd, 2004, 05:32 PM
#2
Idea?
I am not sure how to get the Handle to the buttons but you can do alot of things if you get the CToolbarCtrl of the Toolbar using
GetToolBarCtrl();
If you look in the MSDN for CToolbarCtrl you will find that you can change a number of different features.
You may be able to get the Handle of the controls by using the GetDlgItem(...) method from the CToolbarCtrl object that you get.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|