不对呀!!!!!
我查MSDN了,MSDN上说GetToolBAR()返回一个CToolBarCtrl对象呀,没有&符号???!!!
反清复明 http://xupeng.
不信就算了,这个东西不是很好找,你再自己找找吧。
CToolBarCtrl& GetToolBarCtrl( ) const;
Return Value
A reference to a CToolBarCtrl object.
Remarks
This member function allows direct access to the underlying common control.
Use GetToolBarCtrl to take advantage of the functionality of the Windows toolbar common control, and to take advantage of the support CToolBarCtrl provides for toolbar customization.
For more information about using common controls, see the article Control Topics in Visual C++ Programmer’s Guide and Common Controls in the Windows 95 SDK Programmer’s Reference.
CToolBar Overview | Class Members | Hierarchy Chart
See Also CToolBarCtrl