IUIX_InfoBtn::BindToBuddyCtl Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 7: Line 7:
  
 
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 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 13:
 
== Parameters ==
 
== Parameters ==
 
;pBuddyCtl
 
;pBuddyCtl
:[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).
+
:[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 with implemented [[PXV:IUIX_Edit|IUIX_Edit]] interface (editable combo box).
  
 
== Return Value ==
 
== Return Value ==

Revision as of 06:53, 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.

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 with implemented IUIX_Edit interface (editable combo box).

Return Value

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

See Also

See also IUIX_InfoBtn.