IUIX_Button::NotifyTarget Property

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Button::NotifyTarget Property}}
 
{{#customTitle:IUIX_Button::NotifyTarget Property}}
 +
{{#parentPage:PXV:IUIX_Button#Properties|NotifyTarget|property}}
  
Property '''NotifyTarget''' of interface [[PXV:IUIX_Button|IUIX_Button]] returns/sets  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] ...
+
The '''NotifyTarget''' property allows the sending of messages of the [[PXV:UIX_EventCodes|e_Notify]] type from the ''current UI object'' to another UI object. If the current object's '''NotifyTarget''' property is not set explicitly, then any e_Notify messages will be directed to its nearest parent (if any).  
  
 +
For instance, dialog controls send their e_Notify messages to the dialog by default. To configure them to send e_Notify messages to each other, use the '''NotifyTarget''' property.
  
 
== 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>
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Button|IUIX_Button]].
+
[[PXV:IUIX_Button|IUIX_Button]]

Latest revision as of 04:11, 15 June 2015

The NotifyTarget property allows the sending of messages of the e_Notify type from the current UI object to another UI object. If the current object's NotifyTarget property is not set explicitly, then any e_Notify messages will be directed to its nearest parent (if any).

For instance, dialog controls send their e_Notify messages to the dialog by default. To configure them to send e_Notify messages to each other, use the NotifyTarget property.

Syntax

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

See Also

IUIX_Button