CContainedWindowT::WindowProc

此静态方法实现windows程序。

static LRESULT CALLBACK WindowProc(
   HWND hWnd,
   UINT uMsg,
   WPARAM wParam,
   LPARAM lParam 
);

参数

  • hWnd
    [in]窗口的句柄。

  • uMsg
    [in]发送到窗口。

  • wParam
    [out]一条额外的特定信息。

  • lParam
    [out]一条额外的特定信息。

返回值

消息处理结果。

备注

WindowProc 处理消息。m_dwMsgMapID确定该消息映射。 如果需要,WindowProc 调用其他消息处理的 DefWindowProc

要求

Header: atlwin.h

请参见

参考

CContainedWindowT选件类

BEGIN_MSG_MAP

ALT_MSG_MAP