共用方式為


COleControl::WindowProc

Provides a Windows procedure for a COleControl object.

virtual LRESULT WindowProc(
   UINT message,
   WPARAM wParam,
   LPARAM lParam
);

Parameters

  • message
    Specifies the Windows message to be processed.

  • wParam
    Provides additional information used in processing the message. The parameter value depends on the message.

  • lParam
    Provides additional information used in processing the message. The parameter value depends on the message.

Return Value

The return value of the message dispatched.

Remarks

Call this function to dispatch specific messages through the control's message map.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart