This class represents a command source.
![]() | PCommandSource ( const char * commandName ) Create a command source notifier that will connect a PCommandSink using the same command name string. |
![]() | Call ( PObject & notifier, INT extra ) const Notifier class callback function. |
![]() | name Name of the command to execute. |
Run Time Type functions
Comparison functions
I/O functions
Miscellaneous functions
This class represents a command source. This works in conjunction with the PCommandSink and PCommandManager classes to implement dynamically bound commands on PTopLevelWindow or PMDIDocWindow classes.The user does not directly create descendents of this class. Instances of this class are created by the PCREATE_COMMAND macro. These are instances of the PNotifier class and may be attached to PMenuItem or PControl instances via the PControl::SetNotifier() function in the same way as other callback functions.
The appropriate callback function, execute, enable or value is called
according to the value of the
virtual void Call( PObject & notifier, INT extra ) const
extra - Extra information about the notification.
Alphabetic index HTML hierarchy of classes or Java