IUIX_InfoBtn::NotifyTarget Property

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_InfoBtn::NotifyTarget Property}}
 
{{#customTitle:IUIX_InfoBtn::NotifyTarget Property}}
{{#parentPage:PXV:IUIX_InfoBtn|NotifyTarget Property|property}}
+
{{#parentPage:PXV:IUIX_InfoBtn#Properties|NotifyTarget|property}}
{{ToWrite}}
+
{{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 ==
<pre class="brush:cpp;gutter:false">HRESULT get_NotifyTarget([out, retval]  IUIX_Obj**  ppTarget);
+
<pre class="brush:cpp;gutter:false">HRESULT get_NotifyTarget([out, retval]  IUIX_Obj**  pTarget);
HRESULT put_NotifyTarget([in]  IUIX_Obj*  ppTarget);
+
HRESULT put_NotifyTarget([in]  IUIX_Obj*  pTarget);
 
</pre>
 
</pre>
 +
 +
== Remarks ==
 +
Note, that when binding info button to another object ''pObj'' using [[PXV:IUIX_InfoBtn_BindToBuddyCtl|IUIX_InfoBtn_BindToBuddyCtl]] method, '''NotifyTarget''' property is NOT affected, and e_Notify messages will not be sent to ''pObj'', unless this behavior is explicitly set.
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_InfoBtn|IUIX_InfoBtn]].
+
[[PXV:IUIX_InfoBtn|IUIX_InfoBtn]]

Latest revision as of 16:30, 15 June 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**  pTarget);
HRESULT put_NotifyTarget([in]  IUIX_Obj*  pTarget);

Remarks

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

See Also

IUIX_InfoBtn