Click to See Complete Forum and Search --> : How can create Push Button on ToolBar


Drago
May 9th, 1999, 03:07 PM
Hi,
Help me please. I want to create Push Button on ToolBar and associate message OnClick.
What can I do.
Thank you in advance !!

Drago

Rajesh Makhija
May 10th, 1999, 07:25 AM
You can add a toolbar button to the toolbar as is done normally via the resource editor and then via the m_wndToolBar member of CMainFrame Class, use the SetSizes method to set the size of the button to that of a std pushbutton. Add a command handler for the associated ID

Hope this helps

BrianOG
May 10th, 1999, 07:37 AM
http://www.codeguru.com/toolbar/ctrls_in_tb.shtml