IUIX_CmdHandler::OnDrawItemIcon Method

From Tracker Software PDF SDK
Revision as of 01:14, 4 April 2016 by Palamar (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Draws icon of the command item in the given rectangle.

Syntax

HRESULT OnDrawItemIcon([in]  IUIX_RenderContext*  pRC,
                       [in]  IUIX_CmdItem*        pItem,
                       [in]  RECT*                stIconRect,
                       [in]  RECT*                stClip);

Parameters

pRC
[in] Pointer to IUIX_RenderContext containing the render context by which the icon should be drawn.
pItem
[in] Pointer to IUIX_CmdItem containing the command item which icon should be drawn.
stIconRect
[in] Pointer to RECT containing the icon rectangle.
stClip
[in] Pointer to RECT containing the icon rectangle clip.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

IUIX_CmdHandler