搜索资源列表
OwnDrawButton
- 一、用ClassWizard生成一个新类,名字假设起为CMyButton,基类选为CButton; 二、在新类中用ClassWizard添加函数:PreSubclassWindow()、DrawItem()、OnMouseMove()、OnLButtonDown()、OnLButtonUp();-one with ClassWizard generate a new category, the names of hypotheses for CMyButton, elected CBu
ImageText
- 在按钮中绘制图标,通过改写CButton中的DrawItem的方法来实现
NotRule
- 实现显示不规则按钮的功能,主要通过改写CButton中DrawItem的方法实现自定义按钮的绘制
DrawButton
- 自绘按钮,在MFC中通过CButton类的DrawItem函数来实现自绘一个按钮,使其看上去更美观-Since the draw button, through CButton in MFC classes to implement owner-draw DrawItem function of a button, and make it look more beautiful
XPButton
- 该项目主要就是CXPButton的DrawItem函数的重载。在DrawItem中重新新绘制了 按钮的各中状态时的显示效果。具体的实现代码中有大体的说明。-The project is mainly a function of the overloaded CXPButton the DrawItem. The DrawItem re-draw the button in all new state of the display. Concrete implementation of the
buttontest
- 创建了一个基于CButton的新类,重载了DrawItem函数,能够实现对按钮背景颜色的动态改变。-In this program,we have built a new class which is based on the CButton class.We override the DrawItem() program,and you can change the background of the button as you wish in this program.
ButtonOwnerDrawX
- 自绘(定制)按钮,VC6.0 MFC 继承MFC 类 CButton,重新实现虚函数DrawItem-Onwer draw (Customized) Button, inherited from MFC class CButton, customized virtual function DrawItem.
VCPP--button
- 为此从CBUTTON派生一个按钮类CControlButton,重载DrawItem消息处理进行自绘。-To this end a button class CControlButton, from CBUTTON derived overloaded DrawItem message processing from the painting.
AlphaButton
- 自绘实现半透明水晶按钮,给按钮加上BS_OWNERDRAW样式,重载DrawItem函数,在这里绘制按钮-And painted self realization translucent crystal buttons
MyButtonDlg
- 该项目进行button类的重绘工作,与普通控件不同的是button的重绘工作不能由OnCtrlColor中返回画刷实现,要通过派生新累重写DrawItem来实现。-The project button redraw the common control, the button redraw work can not be returned by the OnCtrlColor brush to achieve, to be achieved by deriving new tired rewri
MySphereButton
- 不规则按钮通过设置RGN并更改DRAWITEM来实现不规则图形的按钮-Button irregular irregular graphics settings the RGN and to change DRAWITEM button
drawitem
- WINdowS界面编程先关的东西,供开发人员参考执行,C++源码编写-First off the things WINdowS programming interface for developers reference implementation C++ source code written
button
- button重载,drawitem重载,多做重载方式,实现不同风格-button overloading, drawitem overloading, overloading ways to do more to achieve different styles
MyXPButton
- mfc中按钮的重绘,利用重写DrawItem函数实现的,适合新手学习。-mfc buttons redraw using rewrite DrawItem function implementation, suitable for beginners to learn.