From Tracker Software PDF SDK
Revision as of 01:14, 4 April 2016 by Palamar
Draws icon of the command item in the given rectangle.
HRESULT OnDrawItemIcon([in] IUIX_RenderContext* pRC, [in] IUIX_CmdItem* pItem, [in] RECT* stIconRect, [in] RECT* stClip);
- [in] Pointer to IUIX_RenderContext containing the render context by which the icon should be drawn.
- [in] Pointer to IUIX_CmdItem containing the command item which icon should be drawn.
- [in] Pointer to RECT containing the icon rectangle.
- [in] Pointer to RECT containing the icon rectangle clip.
Returns S_OK if operation was successful or error code in other cases.