CToolTipCtrl::Popup

Causes the current tooltip control to display at the coordinates of the last mouse message.

void Popup();

Remarks

This method sends the TTM_POPUP message, which is described in the Windows SDK.

Requirements

Header: afxcmn.h

This method is supported in Windows XP and later.

Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.

Example

The following code example displays a tooltip window.

    {
        // Display the most recent tooltip.
        CToolBarCtrl& m_toolBarCtrl = m_wndToolBar.GetToolBarCtrl();
        CToolTipCtrl* m_toolTip = m_toolBarCtrl.GetToolTips();
        m_toolTip->Popup();
    }

See Also

Reference

CToolTipCtrl Class

Hierarchy Chart

TTM_POPUP

Other Resources

CToolTipCtrl Members