Click here to Skip to main content
11,932,103 members (65,268 online)
Rate this:
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 2: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 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.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