IUIX_InfoBtn::BindToBuddyCtl Method
From PDF XChange PDF SDK
Line 8: | Line 8: | ||
Info button will normally be displayed at the right part of the object it was bound to. | 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 | + | In particular, info button can be bound to object of [[PXV:IUIX_Label|IUIX_Label]], [[PXV:IUIX_Edit|IUIX_Edit]] interfaces or to object of [[PXV:IUIX_Combo|IUIX_Combo]] interface if it also implements [[PXV:IUIX_Edit|IUIX_Edit]] interface (editable combo boxes). |
== Syntax == | == Syntax == | ||
Line 15: | Line 15: | ||
== Parameters == | == Parameters == | ||
;pBuddyCtl | ;pBuddyCtl | ||
− | :[in] Object of [[PXV:IUIX_Obj|IUIX_Obj]] that info button will be bound to. Note, that '''pBuddyCtl''' must implement either [[PXV:IUIX_Label|IUIX_Label]], [[PXV:IUIX_Edit|IUIX_Edit]] interface or [[PXV:IUIX_Combo|IUIX_Combo]] interface if it also implements [[PXV:IUIX_Edit|IUIX_Edit]] (editable combo box). | + | :[in] Object of [[PXV:IUIX_Obj|IUIX_Obj]] interface that info button will be bound to. Note, that '''pBuddyCtl''' must implement either [[PXV:IUIX_Label|IUIX_Label]], [[PXV:IUIX_Edit|IUIX_Edit]] interface or [[PXV:IUIX_Combo|IUIX_Combo]] interface if it also implements [[PXV:IUIX_Edit|IUIX_Edit]] (editable combo box). |
== Return Value == | == Return Value == |
Revision as of 05:49, 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 object of IUIX_Label, IUIX_Edit interfaces or to object of 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 interface that info button will be bound to. Note, that pBuddyCtl must implement either IUIX_Label, IUIX_Edit interface 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.