IUIX_Button::NotifyTarget Property
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_Button::NotifyTarget Property}} | {{#customTitle:IUIX_Button::NotifyTarget Property}} | ||
− | {{#parentPage:PXV:IUIX_Button#Properties|NotifyTarget | + | {{#parentPage:PXV:IUIX_Button#Properties|NotifyTarget|property}} |
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). | 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). | ||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT get_NotifyTarget([out, retval] IUIX_Obj** | + | <pre class="brush:cpp;gutter:false">HRESULT get_NotifyTarget([out, retval] IUIX_Obj** pTarget); |
− | HRESULT put_NotifyTarget([in] IUIX_Obj* | + | HRESULT put_NotifyTarget([in] IUIX_Obj* pTarget); |
</pre> | </pre> | ||
== See Also == | == See Also == | ||
[[PXV:IUIX_Button|IUIX_Button]] | [[PXV:IUIX_Button|IUIX_Button]] |
Latest revision as of 03: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);