msdn上的解析 CWnd::SubclassWindowBOOL SubclassWindow( HWND hWnd ); Return Value Nonzero if the function is successful; otherwise 0. Parameters hWnd A handle to the window. Remarks Call this member function to "dynamically subclass" a window and atta…
http://blog.csdn.net/swimmer2000/archive/2007/10/30/1856213.aspx MFC(VC6.0)的CWnd及其子类中,有如下三个函数: // From VS Install PathVC98MFCIncludeAFXWIN.H class CWnd : public CCmdTarget { ... public: ... virtual BOOL PreCreateWind…
原文链接:http://blog.chinaunix.net/uid-14607221-id-2794642.html 1. PreCreateWindow: Called by the framework before the creation of the Windows window attached to this CWnd object. (译:在窗口被创建并attach到this指针所指的CWnd对象之前,被framework调用) PreSubclassWindow: This…