IUIX_CmdHandler::OnGetCtlSizes Method

From PDF XChange PDF SDK
Revision as of 02:19, 4 April 2016 by Palamar (Talk | contribs)

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


Gets size parameters of the given command item's object.

Syntax

HRESULT OnGetCtlSizes([in]       IUIX_CmdItem*  pItem,
                      [in, out]  SIZE*          nSize,
                      [in, out]  SIZE*          nMinSize,
                      [in, out]  SIZE*          nMaxSize);

Parameters

pItem
[in] Pointer to IUIX_CmdItem containing the source command item.
nSize
[in, out] Pointer to SIZE containing the current item object's size.
nMinSize
[in, out] Pointer to SIZE containing the minimal item object's size.
nMaxSize
[in, out] Pointer to SIZE containing the maximal item object's size.

Return Value

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

See Also

IUIX_CmdHandler