Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 877 Bytes

window-procedure-entry-points.md

File metadata and controls

14 lines (11 loc) · 877 Bytes
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Window Procedure Entry Points
Window Procedure Entry Points
11/04/2016
state management, window procedures
MFC, managing state data
window procedure entry points
entry points, window procedures
a6b46a7f-6e42-45f2-9ae6-82e19fc57148

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