http://blog.csdn.net/swimmer2000/archive/2007/10/30/1856213.aspx MFC(VC6.0)的CWnd及其子类中,有如下三个函数: // From VS Install PathVC98MFCIncludeAFXWIN.H class CWn Read More
posted @ 2016-04-18 00:37
findumars
Views(341)
Comments(0)
Diggs(0)
http://blog.csdn.net/FlowShell/archive/2009/10/10/4648800.aspx 我在学习中经常遇到要重写DrawItem()的情况,但又有一个WM_DRAWITEM消息,它们是什么样的关系呢。 如果我们要重写一个CButton取名为CMyButton,我 Read More
posted @ 2016-04-18 00:35
findumars
Views(2413)
Comments(0)
Diggs(0)
"Custom Draw" is a feature shared by all of Microsoft's common controls, which allows you to interject your own code while the control is drawing itse Read More
posted @ 2016-04-18 00:34
findumars
Views(491)
Comments(0)
Diggs(0)
When the control first starts to paint itself, in response to a WM_PAINT, you receive a NM_CUSTOMDRAW notification message, with the draw stage set to Read More
posted @ 2016-04-18 00:33
findumars
Views(604)
Comments(0)
Diggs(0)
PreTranslateMessage是消息在送给TranslateMessage函数之前被调用的,绝大多数本窗口的消息都要通过这里,比较常用,当需要在MFC之前处理某些消息时,常常要在这里添加代码. MFC 消息控制流最具特色的地方是CWnd类的虚拟函数PreTranslateMessage(), Read More
posted @ 2016-04-18 00:32
findumars
Views(1846)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号