Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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