IUIX_InfoBtn::BindToBuddyCtl Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(15 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|BindToBuddyCtl | + | {{#parentPage:PXV:IUIX_InfoBtn#Methods|BindToBuddyCtl|method}} |
− | + | ||
− | + | ||
− | + | 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 == | ||
Line 12: | Line 15: | ||
== Parameters == | == Parameters == | ||
;pBuddyCtl | ;pBuddyCtl | ||
− | :[in] | + | :[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 | + | Returns S_OK if the operation was successful, or will return an error code if it fails. |
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_InfoBtn|IUIX_InfoBtn]] |
Latest revision as of 03: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.