如题,他的作用是什么

解决方案 »

  1.   

    CWnd::SubclassWindow
    This method dynamically subclasses a window and attach it to this CWnd object. When a window is dynamically subclassed, windows messages will route through the CWnd message map and call message handlers in the CWnd class first. Messages that are passed to the base class will be passed to the default message handler in the window.
      

  2.   

    http://spaces.msn.com/members/wangzilue/Blog/cns!1pO6gTPDkT5X-gspuKMKwBQQ!126.entry
      

  3.   

    我们定义一个新的class CMyEdit;
    对你的dlg上的一个变量绷定生成CMyEdit m_Edit
    与你在程序中用m_Edit.SubClassWindow(IDC_EDIT)差不多
      

  4.   

    http://home.nuc.edu.cn/~titilima/readarticle.php?id=31
      

  5.   

    yujia120(永不停息)和 titilima(李马)(titilima.yeah.net)都是静态子类化的例子