搜索资源列表
tabtoolbardemo_src.zip
- 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 implement
moveing
- 本程序是实现在static控件上显示图片,我建立了一个继承了static的类,然后把图片贴到static上,且实现小图片通过键盘控制可以移动,是用对话框做俄罗斯方块的有用参考,但是我没有用双缓冲来做,有闪。只要改成用双缓冲的画就行了。-this program is to achieve control of the static show pictures, I have built a succession of the stat
程序等待对话框testwaitdlg
- 前一段时间,我开发一个有关硬件的程序,需要初始化很长时间,为了防止用户误认为程序已经死掉,必须显示一个漂亮的界面让用户没有这种误解。就像我们系统拷贝很大的文件的时候显示的窗体一样。可惜我没有找到,只有自己亲自开发了。开发一个类,继承于CWnd,很方便。代码比较简单希望有兴趣的朋友下载看看。-some time ago, I developed a hardware-related procedures, the need to init
LoadGif
- 目前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,本人花时间改造了一下这个类,改造后,该类可以应用于任何MFC、 WTL/ATL及其它WINDOWS API编程。 由于原来的CPictureEx是继承于CStatic类,本人改造后,在CPictureEx中直接封装了一个窗口句柄HWND。
LoadGff
- 前在网上有一个CPictureEx类,用于加载GIF动画,不过该类是mfc封装类,对于不使用mfc的c++程序员来讲,不能使用。为了让该类能够让更多的人方便的使用,使其不再被局限于MFC,花时间改造了一下这个类,改造,该类可以应用于任何MFC、 WTL/ATL及其它INDOWS API编程。由于原来的CPictureEx是继承于CStatic类,改造后,在CPictureEx中直接封装了一个窗口句柄HWND。假设您在一个弹出式Dialo
AutoResizeDlg
- 无意看到EnumChildWindows函数,于是写了个自动改变控件位置的类CAutoResizeDlg,由CDialog继承而来。 以后做对话框程序可以方便改变大小了-no wish to see EnumChildWindows function, So wrote the automatic controls to change the location of CAutoResizeDlg category, inherite
ResizeDialog
- 这是一个继承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
对话框上可分割的视图
在对话框上实现可分割的视图,自己作了一个CSplitControl类继承于CStatic,左键视图左右分割,右键上下分割。
VC继承对话框
继承对话框的一个实例程序!
自定义打印对话框
- 继承CPrintDialog 自定义打印对话框
程序等待对话框testwaitdlg
- 前一段时间,我开发一个有关硬件的程序,需要初始化很长时间,为了防止用户误认为程序已经死掉,必须显示一个漂亮的界面让用户没有这种误解。就像我们系统拷贝很大的文件的时候显示的窗体一样。可惜我没有找到,只有自己亲自开发了。开发一个类,继承于CWnd,很方便。代码比较简单希望有兴趣的朋友下载看看。-some time ago, I developed a hardware-related procedures, the need to init
FolderDlg_Proj
- 这是一个目录选择对话框程序,演示了CFolderDialog的工作。CFolderDialog从CCommonDialog继承而来,因此两者界面很相似。-This is a directory dialog procedures, demonstrated CFolderDialog work. CFolderDialog from CCommonDialog inherited and therefore very similar i
vc界面
- 我们经常会使用到组合框,而组合框是是有2种功能的--下拉和列表。一般情况下,列表框的宽度和选择框是一样宽的,但是我们有些时候确实很需要把列表框的宽度变大,一便让我们能更好的看我们要选的东西。 为了能有这个功能,我写了下面的这个函数。首先得在你的对话框中添加一个的WM_CTLCOLOR的消息句柄,或者使用CComboBox的继承类,而且在其中添加下面的代码:-we often use to mix fr a me, and fr a
moveing
- 本程序是实现在static控件上显示图片,我建立了一个继承了static的类,然后把图片贴到static上,且实现小图片通过键盘控制可以移动,是用对话框做俄罗斯方块的有用参考,但是我没有用双缓冲来做,有闪。只要改成用双缓冲的画就行了。-this program is to achieve control of the static show pictures, I have built a succession of the stat
AutoResizeDlg
- 无意看到EnumChildWindows函数,于是写了个自动改变控件位置的类CAutoResizeDlg,由CDialog继承而来。 以后做对话框程序可以方便改变大小了-no wish to see EnumChildWindows function, So wrote the automatic controls to change the location of CAutoResizeDlg category, inherite
ResizeDialog
- 这是一个继承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
DlgAutoSize
- 不同的屏幕分辨率,对话框程序中的空间在对话框大小变化的时候,控件的位置和大小都要随之调整. 封装一个类,使用的时候只要从该类继承即可-Different screen resolution, the dialog box procedure, the size of space in the dialog box changes, control the location and size should be adjusted ac
MyDlg
- 在对话框上添加可分割的视图,使用继承于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
oqkfbfa
- 一个VC++开发的,继承于CDockBar的类,方便移值()
msuckh
- 一个CList类的继承,包括预览,所见即所得的打印等()