CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Posts
    61

    How can create Push Button on ToolBar

    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


  2. #2
    Join Date
    Apr 1999
    Posts
    6

    Re: How can create Push Button on ToolBar

    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


  3. #3
    Join Date
    May 1999
    Posts
    116

    Have a look at this code-guru article


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

Featured