Share via


CToolTipCtrl::SetToolRect

Sets a new bounding rectangle for a tool.

void SetToolRect( 
   CWnd* pWnd, 
   UINT_PTR nIDTool, 
   LPCRECT lpRect  
);

Parameters

  • pWnd
    Pointer to the window that contains the tool.

  • nIDTool
    ID of the tool.

  • lpRect
    Pointer to a RECT structure specifying the new bounding rectangle.

Requirements

Header: afxcmn.h

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

CToolTipCtrl::GetToolInfo