IUIX_Button::NotifyTarget Property

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IUIX_Button::NotifyTarget Property}}
 
{{#customTitle:IUIX_Button::NotifyTarget Property}}
 
{{#parentPage:PXV:IUIX_Button|NotifyTarget Property|property}}
 
{{#parentPage:PXV:IUIX_Button|NotifyTarget Property|property}}
{{ToWrite}}
 
 
{{ToReview}}
 
{{ToReview}}
  
Property '''NotifyTarget''' of interface [[PXV:IUIX_Button|IUIX_Button]] 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. If current object's '''NotifyTarget''' property is not set explicitly, then 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 '''NotifyTarget''' property.
  
 
== Syntax ==
 
== Syntax ==
Line 13: Line 14:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_Button|IUIX_Button]].
+
See also [[PXV:IUIX_Button|IUIX_Button]], [[PXV:UIX_EventCodes|UIX_EventCodes]].

Revision as of 00:48, 7 May 2015


NotifyTarget property allows sending messages of e_Notify type from current UI object to another UI object. If current object's NotifyTarget property is not set explicitly, then 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 NotifyTarget property.

Syntax

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

See Also

See also IUIX_Button, UIX_EventCodes.