IPXV_DocInfoBar::AddButton Method

From Tracker Software PDF SDK
Jump to: navigation, search


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT AddButton([in]                      LONG           nSpanID,
                  [in]                      LONG           nBtnID,
                  [in]                      LPWSTR         pText,
                  [in]                      LPWSTR         pTooltip,
                  [in]                      IUIX_Icon*     pIcon,
                  [in, defaultvalue(-1)]    LONG           nInsertPos,
                  [in, defaultvalue(NULL)]  IUIX_CmdMenu*  pSubMenu,
                  [in, defaultvalue(0)]     LONG           nFlags);

Parameters

nSpanID
[in] Value of LONG.
nBtnID
[in] Value of LONG.
pText
[in] Value of LPWSTR.
pTooltip
[in] Value of LPWSTR.
pIcon
[in] Pointer to IUIX_Icon.
nInsertPos
[in, defaultvalue(-1)] Value of LONG.
pSubMenu
[in, defaultvalue(NULL)] Pointer to IUIX_CmdMenu.
nFlags
[in, defaultvalue(0)] Value of LONG.

Return Value

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

See Also

IPXV_DocInfoBar