比如我要控件有颜色或是它的形状.要定义函数吗?还是在那里添加代码?代码又是什么呢?
解决方案 »
- VC6和VC2010共同安装有问题吗
- 请问在vs在选择字符集为使用UNICODE字符集的情况,如何把一组BYTE数组转换为汉字和字母
- 请教,如何打cab包,还有能否象winrar自解压那样,在安装完active以后,自动运行一个应用程序?
- 小问题
- 一个巨弱的问题!
- Debug么问题,Release出现错误:fatal error C1010: unexpected end of file while looking for precompiled header directive
- 高手请指教关于INSTALLSHIELD安装快捷方式的问题!
- 创建全屏窗口来显示图像问题
- vc添加的ribbon菜单按钮灰色
- 请问怎样才能在运行时检测任务栏是否具有“总在最前”属性,并去掉该属性?
- 怎样给ACCESS数据库添加记录?
- 如何创建切分窗口使其创建一个表单视图和一个列表视图
This method is called to draw an owner-drawn CButton object virtual void DrawItem(
LPDRAWITEMSTRUCT lpDrawItemStruct );
lpDrawItemStruct
A long pointer to a DRAWITEMSTRUCT structure. The structure contains information about
the item to be drawn and the type of drawing required
主要是重载处理这个虚函数,来实现自己的控件外观。