|
-
Description:
-
This member is called from Invoke() just before a message is sendt to the target.
This allow classes that inherits from os::Invoker to add data to or otherwhice modify the message before it is sendt. The message can also be canceled entirely by returning false from this member.
The message passed to Invoked() is a copy of the internal message or the message passed to Invoke() (if any) so any changes made here will not affect the internal message or the message passed to Invoke(). When this method returns the message will imidiatly be sendt to the target and then discarded (unless false is returned in which case the message is simply discarded).
The default implementation of this member does nothing and return true.
-
Parameters:
-
pcMessage
|
Pointer to the message that is about to be sendt. You can do any modification you like to this message (but never delete it). |
-
Returns:
-
Normally you should return true to indicate that the message should be sendt. You can however return false if you for some reason want to cancel the invokation.
-
See also:
-
Invoke(), SetMessage(), SetTarget()
-
Author:
-
Kurt Skauen ([email protected])
Reimplemented from os::Invoker.
Reimplemented in os::Button, os::CheckBox, os::ListView, os::RadioButton, os::ScrollBar, os::Slider, os::Spinner, and os::TextView. |