IUIX_InfoBtn::BindToBuddyCtl Method
From PDF XChange PDF SDK
Line 6: | Line 6: | ||
Binds info button to a required object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. | Binds info button to a required object of [[PXV:IUIX_Obj|IUIX_Obj]] interface. | ||
− | Info button will normally be displayed at the right part of | + | Info button will normally be displayed at the right part of the object it was bound to. |
− | + | In particular, info button can be bound to objects of [[PXV:IUIX_Label|IUIX_Label]], [[PXV:IUIX_Edit|IUIX_Edit]] interfaces or to [[PXV:IUIX_Combo|IUIX_Combo]] interface if it also implements [[PXV:IUIX_Edit|IUIX_Edit]] interface (editable combo boxes). | |
== Syntax == | == Syntax == |
Revision as of 05:40, 14 May 2015
Binds info button to a required object of IUIX_Obj interface.
Info button will normally be displayed at the right part of the object it was bound to.
In particular, info button can be bound to objects of IUIX_Label, IUIX_Edit interfaces or to IUIX_Combo interface if it also implements IUIX_Edit interface (editable combo boxes).
Contents
Syntax
HRESULT BindToBuddyCtl([in] IUIX_Obj* pBuddyCtl);
Parameters
- pBuddyCtl
- [in] Object of IUIX_Obj that info button will be bound to. Note, that pBuddyCtl must implement one if IUIX_Label, IUIX_Edit interfaces or IUIX_Combo interface if it also implements IUIX_Edit (editable combo box).
Return Value
Returns S_OK if operation was successful or error code in other cases.
See Also
See also IUIX_InfoBtn.