Click here to Skip to main content
11,639,765 members (64,842 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 Suvendu Shekhar Giri 330
1 CPallini 177
2 F-ES Sitecore 170
3 himanshu agarwal 167
4 Sergey Alexandrovich Kryukov 159
0 OriginalGriff 9,081
1 Sergey Alexandrovich Kryukov 8,847
2 Mika Wendelius 7,027
3 Suvendu Shekhar Giri 2,650
4 F-ES Sitecore 2,558

Advertise | Privacy | Mobile
Web02 | 2.8.150731.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