Click here to Skip to main content
11,720,785 members (64,309 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ C MFC
Hello Everyone,

can anyone please tell me how to add vertical Toolbar in my SDI Project. I need to add a toolbar in the left side of the App as part of Mainframe.
Posted 16-Mar-13 1:46am
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

See the documentation[^] for docking controls.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There are many MFC Toolbar examples here on CodeProject. I suspect you'll find what you need amongst these[^]. If you find something that's almost what you want then the author may be able to help you further. On the other hand if nothing here is even close then perhaps a Vertical Toolbar article is needed, let us know.
Fresher16 at 18-Mar-13 6:50am
Thanks Matthew.... They are useful articles but what I need is simple vertical Toolbar on Left Side of Client area. For Example consider Paint Application. Just like paint I need to add few controls in my application. Please suggest me something.
Matthew Faithfull at 18-Mar-13 6:56am
I seem to remember there's one like that in the Platform SDK sample code somewhere but it's probably been 10 years since I looked at it last. A docked vertical toolbar these days is just a toolbar with the appropriate flags and parameters to be docked on the left and vertical. You don't have to add any functionality to get these things so I suggest following Richard's Solution2.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 2,179
1 OriginalGriff 924
2 F-ES Sitecore 640
3 Maciej Los 609
4 Richard MacCutchan 540

Advertise | Privacy | Mobile
Web04 | 2.8.150901.1 | Last Updated 16 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100