搜索资源列表
draw-colorlb
- UNZIP with directory preservation. This sample contains long file names. Uploaded on 24 April, 2000. The COLORLB sample shows how to implement an owner-draw list box. The box is drawn LBS_OWNERDRAWFIXED and also uses the LBS_HASSTRINGS style. The box
xpbuttons
- 如果你希望能够在自己的程序中表现出新意,那么你一定不会仅仅满足于MFC提供那些标准控件。这时,我们就必须自己另外多做些工作了。就改变控件外观这一点来说,主要是利用控件的自绘功能(Owner Draw)实现的。本篇将和各位一起定义一个XP风格的CXPButton按钮类,目的不在于介绍CXPButton类的使用技巧,而在于向各位阐述实现自绘按钮的方法。当然如果你觉得CXPButton有用的话,也可以把它的源文件保存下来,直接加入到自己的项目中。-if you hope to be able to o
DrawImgOnDlg
- 结合网上的代码,找到了两种全图显示的办法。 第一种是使用GDI+,同样需要使用到picture control,不过这次需要设置属性->杂项->type,选择Owner Draw类型。然后从CStatic类中派生出一个新类:CGdiPlusImgCtrl。重载DrawItem函数来实现绘制图像 可能你觉得使用GDI+麻烦,需要对GDI+环境进行初始化,打包程序又得附带gdiplus.dll。那么我介绍的第二种方法使用GDI就没这么麻烦了。 第一种是使用GDI,同样需要使
owner
- 自绘组合框,重写了里面的几个方法,需要的童鞋可以看看,还是挺简单的!-Self-drawn combo box, rewriting inside several methods, the needs of children' s shoes can look at, or very simple!
Calendar
- 用MFC实现的一款农历软件,完整实现了中国农历算法,其中一些自绘控件也值得初学者学习。-Lunar software MFC achieve a complete implementation of the China Lunar algorithm, some of which are owner-drawn controls worth learning for beginners.
ownDrawListview
- 默认的listview在失去焦点后就无法显示当前选的项目了,本人写了个自绘制listview解决这一问题,使用时请将listview的owner draw属性设为true-Default listview loses focus after the currently selected item can not be displayed, I write a self-drawn listview to solve this problem, please use listview owner
MFCDrawContrpleYourself
- MFC自绘控件,包括按钮等控件,用GDI通过贴图的方式-MFC owner-drawn controls, including buttons and other controls
Tetris
- MFC实现俄罗斯方块游戏,采用自绘控件,界面非常漂亮-MFC Tetris game, owner-drawn controls, the interface is very beautiful ~ ~
MenuEx_src
- MenuEx-Ownerdrawn Menu This demo describes a CMenu-derived class for an owner drawn menu with customization available at runtime.
GridCtrl
- Owner Drawn List Control
Theme
- A simple class for handling the custom Owner Drawn controls that I develop. This is used by all of my WinForm controls to allow the user to adjust the colors and fonts.