Welcome![Sign In][Sign Up]
Location:
Search - 对话框继承

Search list

[GUI Developtabtoolbardemo_src.zip

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:

[Static controlmoveing

Description: 本程序是实现在static控件上显示图片,我建立了一个继承了static的类,然后把图片贴到static上,且实现小图片通过键盘控制可以移动,是用对话框做俄罗斯方块的有用参考,但是我没有用双缓冲来做,有闪。只要改成用双缓冲的画就行了。-this program is to achieve control of the static show pictures, I have built a succession of the static type and then affixed to static pictures, small Photo realized through mobile keyboard control can be done using dialog Tetris useful reference. But I did not use double buffering to do, blinking. As long as the double-buffer into the painting's it.
Platform: | Size: 40536 | Author: yyf | Hits:

[Windows Develop程序等待对话框testwaitdlg

Description: 前一段时间,我开发一个有关硬件的程序,需要初始化很长时间,为了防止用户误认为程序已经死掉,必须显示一个漂亮的界面让用户没有这种误解。就像我们系统拷贝很大的文件的时候显示的窗体一样。可惜我没有找到,只有自己亲自开发了。开发一个类,继承于CWnd,很方便。代码比较简单希望有兴趣的朋友下载看看。-some time ago, I developed a hardware-related procedures, the need to initialize a very long time, in order to prevent users mistakenly believe that the procedure has survived, must show a pretty interface to let users do not have this misconception. Like our system great copy of the document shows the same window. Unfortunately, I did not find that only personally developed. The development of a class, in succession CWnd, very convenient. Hope relatively simple code are interested to see friends download.
Platform: | Size: 20058 | Author: 马健 | Hits:

[OtherLoadGif

Description: 目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,本人花时间改造了一下这个类,改造后,该类可以应用于任何MFC、 WTL/ATL及其它WINDOWS API编程。   由于原来的CPictureEx是继承于CStatic类,本人改造后,在CPictureEx中直接封装了一个窗口句柄HWND。   假设您在一个弹出式Dialog对话框中加载gif动画,您要做的就是在对话框中放一个控件,可以是BUTTON、STATIC等等。假设您加的这个控件的ID是IDC_FLASH,您的对话框窗口句柄是hDlg,则要使用CPictureEx,将非常简单。详情参见源代码。-present on the Internet which is a CPictureEx category for loading GIF animation, But such is mfc Packaging category for the non-use of the c mfc speaking programmers, which can not be used. To allow such to allow more people to use, it will not be confined to the MFC. I spend time on this transformation of the type that after transformation, and these can be applied to any MFC. WTL / ATL and other Windows API programming. As the original CPictureEx inherited from CStatic category, I transform, In CPictureEx directly Packaging a window handle HWND. Suppose you in a pop-up dialog box loaded Dialog gif animation You need to be done is up in a dialog box controls can be BUTTON, STATIC, and so on. Suppose you added in the control ID is IDC_FLASH, your dialog window handle is hDlg, CPictureEx w
Platform: | Size: 365419 | Author: 王易 | Hits:

[GDI-BitmapLoadGff

Description: 前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,花时间改造了一下这个类,改造,该类可以应用于任何MFC、 WTL/ATL及其它INDOWS API编程。由于原来的CPictureEx是继承于CStatic类,改造后,在CPictureEx中直接封装了一个窗口句柄HWND。假设您在一个弹出式Dialog对话框中加载gif动画,您要做的就是在对话框中放一个控件,可以是BUTTON、STATIC等等。假设您加的这个控件的ID是IDC_FLASH,您的对话框窗口句柄是hDlg,则要使用CPictureEx,将非常简单。详情参见源代码。-ago on the Internet which is a CPictureEx category for loading GIF animation, But such is mfc Packaging category for the non-use of the c mfc speaking programmers, which can not be used. To allow such to allow more people to use, it will not be confined to the MFC. renovation of time spent on this category, transformation and can be applied to any such MFC, WTL / ATL and other INDOWS API programming. As the original CPictureEx inherited from CStatic category that after transformation, In CPictureEx directly Packaging a window handle HWND. Suppose you in a pop-up dialog box loaded Dialog gif animation You need to be done is up in a dialog box controls can be BUTTON, STATIC, and so on. Suppose you added in the control ID is IDC_FLASH, your dialog window handle is hDlg, CPictureEx would use,
Platform: | Size: 365412 | Author: 陈真 | Hits:

[Dialog_WindowAutoResizeDlg

Description: 无意看到EnumChildWindows函数,于是写了个自动改变控件位置的类CAutoResizeDlg,由CDialog继承而来。 以后做对话框程序可以方便改变大小了-no wish to see EnumChildWindows function, So wrote the automatic controls to change the location of CAutoResizeDlg category, inherited from CDialog. After the dialog box procedure can be done to change the size of convenience
Platform: | Size: 2372 | Author: 黄承杰 | Hits:

[Dialog_WindowResizeDialog

Description: 这是一个继承CDialog类的一个对话框类,其中实现了对话框的动态变动大小,包括对话框上面的按钮随着对话框的变化而变化,非常好的一个,已经实际应用好几次-This is a kind of inheritance CDialog a dialog box category, a dialog box in which to achieve the dynamic changes in the size, including dialog with the top button of the dialog box and change. a very good one, has several practical applications
Platform: | Size: 105353 | Author: 阿飞发 | Hits:

[Windows Develop对话框上可分割的视图

Description:

在对话框上实现可分割的视图,自己作了一个CSplitControl类继承于CStatic,左键视图左右分割,右键上下分割。


Platform: | Size: 36263 | Author: zhubin26 | Hits:

[Dialog_WindowVC继承对话框

Description:

继承对话框的一个实例程序!


Platform: | Size: 213136 | Author: wuwinner | Hits:

[SourceCode自定义打印对话框

Description: 继承CPrintDialog 自定义打印对话框
Platform: | Size: 8205249 | Author: 350860482@qq.com | Hits:

[Windows Develop程序等待对话框testwaitdlg

Description: 前一段时间,我开发一个有关硬件的程序,需要初始化很长时间,为了防止用户误认为程序已经死掉,必须显示一个漂亮的界面让用户没有这种误解。就像我们系统拷贝很大的文件的时候显示的窗体一样。可惜我没有找到,只有自己亲自开发了。开发一个类,继承于CWnd,很方便。代码比较简单希望有兴趣的朋友下载看看。-some time ago, I developed a hardware-related procedures, the need to initialize a very long time, in order to prevent users mistakenly believe that the procedure has survived, must show a pretty interface to let users do not have this misconception. Like our system great copy of the document shows the same window. Unfortunately, I did not find that only personally developed. The development of a class, in succession CWnd, very convenient. Hope relatively simple code are interested to see friends download.
Platform: | Size: 19456 | Author: 马健 | Hits:

[Dialog_WindowFolderDlg_Proj

Description: 这是一个目录选择对话框程序,演示了CFolderDialog的工作。CFolderDialog从CCommonDialog继承而来,因此两者界面很相似。-This is a directory dialog procedures, demonstrated CFolderDialog work. CFolderDialog from CCommonDialog inherited and therefore very similar interface.
Platform: | Size: 71680 | Author: abc | Hits:

[GUI Developvc界面

Description: 我们经常会使用到组合框,而组合框是是有2种功能的--下拉和列表。一般情况下,列表框的宽度和选择框是一样宽的,但是我们有些时候确实很需要把列表框的宽度变大,一便让我们能更好的看我们要选的东西。   为了能有这个功能,我写了下面的这个函数。首先得在你的对话框中添加一个的WM_CTLCOLOR的消息句柄,或者使用CComboBox的继承类,而且在其中添加下面的代码:-we often use to mix frame, and frames are combinations are two kinds of functions-- and the drop-down list. Under normal circumstances, the list box and the width of the selection box is the same width, but sometimes we need to do is list the width of the frame, one will enable us to better do our election of the things. To have this function, I wrote the following this function. First of all in your dialog box to add one of the news WM_CTLCOLOR handle, or use the inheritance CComboBox category, but which add the following code :
Platform: | Size: 7168 | Author: 政策 | Hits:

[Static controlmoveing

Description: 本程序是实现在static控件上显示图片,我建立了一个继承了static的类,然后把图片贴到static上,且实现小图片通过键盘控制可以移动,是用对话框做俄罗斯方块的有用参考,但是我没有用双缓冲来做,有闪。只要改成用双缓冲的画就行了。-this program is to achieve control of the static show pictures, I have built a succession of the static type and then affixed to static pictures, small Photo realized through mobile keyboard control can be done using dialog Tetris useful reference. But I did not use double buffering to do, blinking. As long as the double-buffer into the painting's it.
Platform: | Size: 39936 | Author: yyf | Hits:

[Dialog_WindowAutoResizeDlg

Description: 无意看到EnumChildWindows函数,于是写了个自动改变控件位置的类CAutoResizeDlg,由CDialog继承而来。 以后做对话框程序可以方便改变大小了-no wish to see EnumChildWindows function, So wrote the automatic controls to change the location of CAutoResizeDlg category, inherited from CDialog. After the dialog box procedure can be done to change the size of convenience
Platform: | Size: 2048 | Author: 黄承杰 | Hits:

[Dialog_WindowResizeDialog

Description: 这是一个继承CDialog类的一个对话框类,其中实现了对话框的动态变动大小,包括对话框上面的按钮随着对话框的变化而变化,非常好的一个,已经实际应用好几次-This is a kind of inheritance CDialog a dialog box category, a dialog box in which to achieve the dynamic changes in the size, including dialog with the top button of the dialog box and change. a very good one, has several practical applications
Platform: | Size: 114688 | Author: 阿飞发 | Hits:

[Dialog_WindowDlgAutoSize

Description: 不同的屏幕分辨率,对话框程序中的空间在对话框大小变化的时候,控件的位置和大小都要随之调整. 封装一个类,使用的时候只要从该类继承即可-Different screen resolution, the dialog box procedure, the size of space in the dialog box changes, control the location and size should be adjusted accordingly. Package a class, use the time as long as you can from such inheritance
Platform: | Size: 5120 | Author: 赵佳宝 | Hits:

[Dialog_WindowMyDlg

Description: 在对话框上添加可分割的视图,使用继承于CStatic类的CFligControl类,实现了视图的分割-Add in the dialog box can be separated from view, the use of inheritance in the CStatic class CFligControl category, achieved a view of the partition
Platform: | Size: 35840 | Author: 竹滨 | Hits:

[Dialog_Windowoqkfbfa

Description: 一个VC++开发的,继承于CDockBar的类,方便移值()
Platform: | Size: 52224 | Author: BQOSioqp%25252154437 | Hits:

[Dialog_Windowmsuckh

Description: 一个CList类的继承,包括预览,所见即所得的打印等()
Platform: | Size: 32768 | Author: semijoyn | Hits:
« 12 3 4 »

CodeBus www.codebus.net