description | title | ms.date | helpviewer_keywords | ms.assetid | ||||
---|---|---|---|---|---|---|---|---|
Learn more about: Window Procedure Entry Points |
Window Procedure Entry Points |
11/04/2016 |
|
a6b46a7f-6e42-45f2-9ae6-82e19fc57148 |
To protect MFC window procedures, a module static links with a special window procedure implementation. The linkage occurs automatically when the module is linked with MFC. This window procedure uses the AFX_MANAGE_STATE macro to properly set the effective module state, then it calls AfxWndProc
, which in turn delegates to the WindowProc
member function of the appropriate CWnd
-derived object.