Compartir a través de


Window Procedure Entry Points

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Window Procedure Entry Points.

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.

See Also

Managing the State Data of MFC Modules