Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Displays an icon in a tooltip.
virtual BOOL OnDrawIcon(
CDC* pDC,
CRect rectImage
);
Parameters
[in] pDC
A pointer to a device context.[in] rectImage
Coordinates of the icon.
Return Value
TRUE if the icon was drawn. Otherwise FALSE.
Remarks
Override this method in a derived class to display a custom icon. You must also override CMFCToolTipCtrl::GetIconSize to enable the tooltip to correctly calculate the layout of text and description.
Requirements
Header: afxToolTipCtrl.h