Description: 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函数的创建过程中。
Platform: |
Size: 89039 |
Author: |
Hits:
Description: 基于MFC,把控制条加入tab中,类似delphi IDE中的控件条-based MFC and add a tab control, similar delphi IDE control of the Platform: |
Size: 69638 |
Author:wbt |
Hits:
Description: 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 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 Platform: |
Size: 89088 |
Author:徐丽志 |
Hits:
Description: tabview,based on CTabCtrl
you can add different type view into tabctrl-tabview. based on CTabCtrl you can add different type vie w into tabctrl Platform: |
Size: 64512 |
Author:周辉 |
Hits:
Description: 基于MFC,把控制条加入tab中,类似delphi IDE中的控件条-based MFC and add a tab control, similar delphi IDE control of the Platform: |
Size: 69632 |
Author:wbt |
Hits: