Freigeben über


CToolTipCtrl::RelayEvent

Passes a mouse message to a tool tip control for processing.

void RelayEvent(
   LPMSG lpMsg 
);

Parameters

  • lpMsg
    Pointer to a MSG structure that contains the message to relay.

Remarks

A tool tip control processes only the following messages, which are sent to it by RelayEvent:

WM_LBUTTONDOWN

WM_MOUSEMOVE

WM_LBUTTONUP

WM_RBUTTONDOWN

WM_MBUTTONDOWN

WM_RBUTTONUP

WM_MBUTTONUP

 

Example

See the example for CPropertySheet::GetTabControl.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

CWnd::PreTranslateMessage

CWinApp::PreTranslateMessage

Other Resources

CToolTipCtrl Members