CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    Tool Bar in a Dilalog Box

    Hello,

    How do I create a ToolBar inside a Dialog Box?
    Thanks in advance,



  2. #2
    Join Date
    Jun 1999
    Location
    Croatia
    Posts
    14

    Re: Tool Bar in a Dilalog Box

    I'm not sure its possible to create toolbar inside the dialog box. I suggest you to customize a CDialog to look like a dialog box.
    I hope that this will help you, Sasa


  3. #3
    Join Date
    Jun 1999
    Location
    Sweden
    Posts
    38

    Re: Tool Bar in a Dilalog Box

    Hi.

    Check out this article for more info on adding a toolbar to a dialog-based application:

    http://www.codeguru.com/dialog/dlgtoolbar.shtml

    Best Regards

    Jonas Pettersson
    [email protected]

  4. #4
    Guest

    Re: Tool Bar in a Dilalog Box

    It's possible to add a toolbar into a dialog based app...Just generate a new MDI or SDI project with VC++ to have the few lines that VC generate and that add the toolbar into the frame. Copy those lines and paste them in your *dlg.cpp class code...After this, the toolbar is added, but too bad coz it doesn't appear in the dialog frame...There's just a line to add, but I'm sorry I can't remember right now...You should look at the MSDN doc, ok..?
    Sorry, can't tell more, but it's possible to add a toolbar into a dialog based app...I already did it some months ago..
    good luck..


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