(e) enum Predefined Windowing System Command CodesThe list below does not contain all defined messages; these are only the most general ones
Predefined Windowing System Command CodesThe list below does not contain all defined messages; these are only the most general ones. Any class which defines some class-specific messages should ensure that no other command is using the integer value of its proprietary command codes. To avoid this as much as possible, the following ranges are reserved:
All commands receives a input parameter in the Command.Info field of csEvent object. They can reply to the message by assigning to Command.Info a value. In the description of messages below they are marked by 'IN' (the value is initially passed to object) and 'OUT' (the value is expected to be filled in by the object) labels. If no IN or OUT labels are present, the value of Command.Info is ignored. Since Command.Info is of type (void *) it should be casted to appropiate type before filling/after reading.
- 0x00000000 ... 0x7FFFFFFF: Reserved for CrystalSpace Windowing System
- 0x00000000 ... 0x000000FF: Non-class specific commands
- 0x00000100 ... 0x000001FF: csWindow class messages
- 0x00000200 ... 0x000002FF: csMenu class messages
- 0x00000300 ... 0x000003FF: csTimer class messages
- 0x00000400 ... 0x000004FF: csListBox class messages
- 0x00000500 ... 0x000005FF: csButton class messages
- 0x00000600 ... 0x000006FF: csScrollBar class messages
- 0x00000700 ... 0x000007FF: csStatic class messages
- 0x00000800 ... 0x000008FF: csCheckBox class messages
- 0x00000900 ... 0x000009FF: csRadioButton class messages
- 0x00000A00 ... 0x00000AFF: csSpinBox class messages
- 0x80000000 ... 0xFFFFFFFF: Reserved for user class-specific messages
The control is 'default' if it has a 'default' attribute (this is
control-specific, for example buttons have the CSBSTY_DEFAULT style).
cscmdQuit
cscmdPreProcess
cscmdPostProcess
cscmdRedraw
cscmdFocusChanged
IN: false -> window lose focus, true -> window got focus
cscmdAreYouDefault
IN: NULL
OUT: (csComponent *) or NULL;
cscmdActivate
IN: NULL
OUT: (csComponent *)this if successful;
cscmdPaletteChanged
cscmdHide
cscmdMaximize
cscmdClose
cscmdOK
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de