因为我的应用需要使用许多工具(像3DS Max),我..
代码说明:
Because my application required the use of a lot of tools (just like 3DS Max), I decided to implement this control. Here I shall share with you the most important details of creating the tabbed toolbar. The implementation of the control is quite simple, actually. The control is primarily a Dialog Bar that manages a tab control and a Tool Bar. Thus, the class is derived from CDialogBar and it creates the CTabCtrl and CToolBar objects. The actual creation of the Tab control and toolbar occurs in the Create function of the Dialog Bar. 创建一个制表工具栏 因为我的应用需要使用许多工具(像3DS Max),我决定实现这个控件。 在这里我将和你共同分享创建制表工具栏的最重要的细节。 实际上控件的创建相当简单。这个控件主要是管理一个制表控件和一个工具栏的对话框。因此,这个类从CDialogBar类继承并且它创建了CTabCtrl 和CToolBar对象。实际上制表和工具栏控件的创建发生在DialogBar函数的创建过程中。-Because my application required the use of a lot of tools (just like 3DS Max), I decided to implement this control. Here I shall share with you the most important details of creating the tabbed toolbar. The implementation of the control is quite simple, actually. The
下载说明:请别用迅雷下载,失败请重下,重下不扣分!