IUIX_CmdHandler::OnGetCtlSizes Method

From Tracker Software PDF SDK
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