搜索资源列表
Lesson13Code
- 图形的绘制,如何使用自定义画笔(颜色,线宽,线形)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览功能。实现选项对话框和窗口类中的数据交换。如何改变对话框和控件的背景色,如何改变控件的文本颜色,对按钮控件的特殊处理。如何在窗口中显示一幅位图。-graphics rendering, since the definition of how to use the brush (color, line width, alignment).
StaticSplitterWnd
- 静态切分窗口,这个类是从WTL的SplitterWnd里面扒出来的,因为MFC的SplitterWnd实在是 太太太难用了,而且很难看,看到WTL里面的这个不错,想拿来用,不过如果是MFC程序的话再加上WTL的风格有些不协调,就干脆把它的形式改成MFC的风格了,函数看着挺多,不过常用并不多,至于注释嘛,我只是在经常用的函数声明上大概写了几句,相知道具体实现,那就去看代码吧:)-splitting static window, this category is from the WTL servi
WindowWobble
- 实现了类似于QQ窗口抖动功能的Visual Studio源代码-Achieve a similar function QQ jitter window Visual Studio source code
20101109_DropExDemo
- 一个支持窗口拖放的普遍类COleDropTargetEx,任何需要提供拖放的窗口包含此类后,将响应拖放消息函数加入,便可接收拖放-A universal support for drag and drop the window class COleDropTargetEx, no need to provide drag and drop the window contains such, it will respond by adding drag and drop message funct
lesson10
- 图形的绘制,如何使用自定义画笔(颜色,线宽,线形)。如何为程序中添加选项菜单和选项设置对话框,如何使用标准颜色对话框,如何使用字体对话框,在选项对话框中实现预览功能。实现选项对话框和窗口类中的数据交换。如何改变对话框和控件的背景色,如何改变控件的文本颜色,对按钮控件的特殊处理。如何在窗口中显示一幅位图。-Drawing, how to use a custom brush (color, line width, line). How to add options menu for the pro
taopaobutton
- 可以实现按钮逃跑功能的设置,即在程序的开发窗口上,鼠标点击不到按钮-Function can set the button to escape, that the development of the program window, click the mouse button less
FullScreenMDI
- 创建窗口, 调用主窗口类的自定义函数EndFullScreen,退出全屏显示状态和调用主窗口类的自定义函数 FullScreen ,进入全屏显示状态。-Create a window, call the main window class custom function EndFullScreen exit the full screen to display status and call the main window class custom function FullScreen ent
GlobalMinimizeToTray-V1.1B
- 将窗口最小化到系统状态栏:引起轰动的源码,能在视窗里每一个窗口最小化按钮旁加一个新按钮,这个新按钮的功能是将窗口最小化到系统状态栏,强烈推荐!!! -Will minimize window to the system state bar: sensation source, can in the window every window minimize button add by a new button, a new button of the function is to minimize
draw1
- 编写应用程序,可以利用鼠标绘制矩形和圆形,具体功能要求如下: 1、 通过单击工具条按钮(或菜单项)选择绘制矩形或者圆形; 2、 绘制过程中要求实现橡皮线功能和重画(窗口改变的时候,已绘制的图形不能消失); 3、 程序中只能使用SetPixel绘图函数,不能使用其它绘图函数; 4、 [本功能选作]通过单击工具条按钮(或菜单项)显示对话框,让用户可以设置绘制图形的颜色(可以分别输入RGB三颜色分量)-Write applications that can use the mouse
WinMain
- Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数-Windows programs running principle and programming process, the the window generation process, handle principle, message queues, the callback function
ResizerDemo
- CResizer可自由变换窗口中的控件对象类 及其演示程序,类似于PS中的变换功能,可以通过节点调节指定控件的大小,拖动则可移动对象的位置,这个类是本人在开发一个教学软件的过程中根据需要编写的,现上传网络与大家分享。-CResizer freely transform window control object class CResizer freely transform window control object class and demonstration program, simila
MultiDialog-2011-10-23
- 多对话框切分,实现多个对话框窗口的切分功能-Multi Dialog segmentation, implement multiple dialog window segmentation function
LCDOFF
- 最近准备开发一个小软件来关闭显示器,由于S41关闭显示器的功能很不完善 最终目标: 1、检测本本合盖状态 2、合盖后关屏,并且锁定鼠标键盘输入 3、检测开盖,解锁并且开屏 4、设置热键关屏 目前已经做到可以关闭显示器了~呵呵 不过其它的功能没有时间搞。代码如下-The SendMessage function sends the specified message to a window or windows. It calls the