IUIX_InfoBtn::BindToBuddyCtl Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_InfoBtn::BindToBuddyCtl Method}}
 
{{#customTitle:IUIX_InfoBtn::BindToBuddyCtl Method}}
{{#parentPage:PXV:IUIX_InfoBtn|method}}
+
{{#parentPage:PXV:IUIX_InfoBtn#Methods|BindToBuddyCtl|method}}
{{ToWrite}}
+
{{ToReview}}
+
  
The method of interface of PDF-XChange Editor SDK.
+
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 the object it was bound to.
 +
 
 +
See [[PXV:IUIX_InfoBtn_BindToBuddyCtl#Parameters|Parameters]] section for other details.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT BindToBuddyCtl([in] IUIX_Obj* pBuddyCtl);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT BindToBuddyCtl([in] IUIX_Obj* pBuddyCtl);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pBuddyCtl''
+
;pBuddyCtl
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[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 ==
Returns S_OK if operation was successful or error code in other cases.
+
Returns S_OK if the operation was successful, or will return an error code if it fails.
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_InfoBtn|IUIX_InfoBtn]].
+
[[PXV:IUIX_InfoBtn|IUIX_InfoBtn]]

Latest revision as of 04:31, 20 February 2017

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.

See Parameters section for other details.

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 the operation was successful, or will return an error code if it fails.

See Also

IUIX_InfoBtn