Click to See Complete Forum and Search --> : Tool Bar in a Dilalog Box


July 1st, 1999, 06:20 AM
Hello,

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

Sasa
July 1st, 1999, 07:28 AM
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

JonasP
July 1st, 1999, 07:35 AM
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
j.pettersson@consultec.se

July 1st, 1999, 09:14 AM
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.. :)