Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Toolbar Resizing Pin
Jeff J3-Dec-02 18:04
Jeff J3-Dec-02 18:04 
GeneralRe: Toolbar Resizing Pin
Steven M Hunt4-Dec-02 4:44
Steven M Hunt4-Dec-02 4:44 
GeneralRe: Toolbar Resizing Pin
Jeff J4-Dec-02 10:36
Jeff J4-Dec-02 10:36 
GeneralRe: Toolbar Resizing Pin
Rand Al'thor4-Dec-02 12:35
Rand Al'thor4-Dec-02 12:35 
GeneralRe: Toolbar Resizing Pin
Steven M Hunt4-Dec-02 16:00
Steven M Hunt4-Dec-02 16:00 
GeneralRe: Toolbar Resizing Pin
Rand Al'thor4-Dec-02 16:36
Rand Al'thor4-Dec-02 16:36 
GeneralRe: Toolbar Resizing Pin
Steven M Hunt4-Dec-02 16:49
Steven M Hunt4-Dec-02 16:49 
GeneralRe: Toolbar Resizing Pin
Rand Al'thor4-Dec-02 16:55
Rand Al'thor4-Dec-02 16:55 
Err..
Have you actually read the MSDN docs?
Get it, it's worth it, or go on the net to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmfc98/html/_mfcnotes_tn031.asp

Anyway, you won't be mixing classes. Here's a quote from those documentations:

CToolBar::GetToolBarCtrl, a member function new to MFC 4.0, allows you to take advantage of the Windows common control's support for toolbar customization and additional functionality. CToolBar member functions give you most of the functionality of the Windows common controls; however, when you call GetToolBarCtrl, you can give your toolbars even more of the characteristics of Windows 95 toolbars. When you call GetToolBarCtrl, it will return a reference to a CToolBarCtrl object. See CToolBarCtrl for more information about designing toolbars using Windows common controls. For more general information about common controls, seeCommon Controls in the Windows 95 SDK Programmer’s Reference.

Hope that helps. Essentially, there's no harm, as CToolBar are made from (or using) the CToolBarCtrl.
I suggest you go to the docs... you'll learn a heck lot more.

Rose | [Rose]
GeneralRe: Toolbar Resizing Pin
Theo Buys16-Oct-16 23:20
Theo Buys16-Oct-16 23:20 
GeneralMFC DLL that Loads an SDI Pin
mgarvin3-Dec-02 10:19
mgarvin3-Dec-02 10:19 
GeneralRe: MFC DLL that Loads an SDI Pin
valikac3-Dec-02 12:56
valikac3-Dec-02 12:56 
GeneralRe: MFC DLL that Loads an SDI Pin
Roger Allen4-Dec-02 1:53
Roger Allen4-Dec-02 1:53 
GeneralRe: MFC DLL that Loads an SDI Pin
Roger Allen5-Dec-02 21:46
Roger Allen5-Dec-02 21:46 
Generalhelp: passing pointer from view to dialog problem Pin
trustno13-Dec-02 9:36
trustno13-Dec-02 9:36 
GeneralBSTR and UNICODE Pin
Jörgen Sigvardsson3-Dec-02 9:31
Jörgen Sigvardsson3-Dec-02 9:31 
GeneralRe: BSTR and UNICODE Pin
Tim Smith3-Dec-02 9:40
Tim Smith3-Dec-02 9:40 
GeneralRe: BSTR and UNICODE Pin
Jörgen Sigvardsson3-Dec-02 11:53
Jörgen Sigvardsson3-Dec-02 11:53 
GeneralRe: BSTR and UNICODE Pin
Michael Dunn3-Dec-02 13:18
sitebuilderMichael Dunn3-Dec-02 13:18 
GeneralRe: BSTR and UNICODE Pin
Jeff J3-Dec-02 16:40
Jeff J3-Dec-02 16:40 
GeneralEnum vs #define Pin
Brad Bruce3-Dec-02 9:23
Brad Bruce3-Dec-02 9:23 
GeneralRe: Enum vs #define Pin
Neville Franks3-Dec-02 9:31
Neville Franks3-Dec-02 9:31 
GeneralRe: Enum vs #define Pin
Maximilien3-Dec-02 9:52
Maximilien3-Dec-02 9:52 
GeneralRe: Enum vs #define Pin
Tim Smith3-Dec-02 9:56
Tim Smith3-Dec-02 9:56 
GeneralRe: Enum vs #define Pin
Neville Franks3-Dec-02 9:57
Neville Franks3-Dec-02 9:57 
GeneralRe: Enum vs #define Pin
Maximilien3-Dec-02 10:02
Maximilien3-Dec-02 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.