IUIX_InfoBtn::NotifyTarget Property

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IUIX_InfoBtn::NotifyTarget Property}}
 
{{#customTitle:IUIX_InfoBtn::NotifyTarget Property}}
 
{{#parentPage:PXV:IUIX_InfoBtn|NotifyTarget Property|property}}
 
{{#parentPage:PXV:IUIX_InfoBtn|NotifyTarget Property|property}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
Property '''NotifyTarget''' of interface [[PXV:IUIX_InfoBtn|IUIX_InfoBtn]] returns/sets  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] ...
+
'''NotifyTarget''' property allows sending messages of [[PXV:UIX_EventCodes|e_Notify]] type from ''current UI object'' to another UI object. By default, if not set explicitly via '''NotifyTarget''' property, e_Notify messages will be sent to object's nearest parent (if any).  
  
 
== Syntax ==
 
== Syntax ==
Line 11: Line 10:
 
HRESULT put_NotifyTarget([in]  IUIX_Obj*  ppTarget);
 
HRESULT put_NotifyTarget([in]  IUIX_Obj*  ppTarget);
 
</pre>
 
</pre>
 +
 +
== Remarks ==
 +
Note, that when binding info button to another object ''pObj'' with [[PXV:IUIX_InfoBtn_BindToBuddyCtl|IUIX_InfoBtn_BindToBuddyCtl]] method, '''NotifyTarget''' property is NOT affected, and e_Notify messages will not be sent to ''pObj'', unless explicitly set.
  
 
== See Also ==
 
== See Also ==
 
See also [[PXV:IUIX_InfoBtn|IUIX_InfoBtn]].
 
See also [[PXV:IUIX_InfoBtn|IUIX_InfoBtn]].

Revision as of 08:32, 14 May 2015


NotifyTarget property allows sending messages of e_Notify type from current UI object to another UI object. By default, if not set explicitly via NotifyTarget property, e_Notify messages will be sent to object's nearest parent (if any).

Syntax

HRESULT get_NotifyTarget([out, retval]  IUIX_Obj**  ppTarget);
HRESULT put_NotifyTarget([in]  IUIX_Obj*  ppTarget);

Remarks

Note, that when binding info button to another object pObj with IUIX_InfoBtn_BindToBuddyCtl method, NotifyTarget property is NOT affected, and e_Notify messages will not be sent to pObj, unless explicitly set.

See Also

See also IUIX_InfoBtn.