In file libs/csinput/csevent.h:

## (e) enum

> Predefined Windowing System Command Codes

> The list below does not contain all defined messages; these are only the most general ones

cscmdAbort
cscmdActivate
  This message is sent by parent to its active child to activate whatever action it does
cscmdAreYouDefault
  Query a control if it would like to be the default control in a dialog
cscmdCancel
cscmdClose
  The "close window" button
cscmdFocusChanged
  Program window changed in-focus status
cscmdHide
  The "hide window" command
cscmdIgnore
cscmdMaximize
  The "maximize window" command
cscmdNothing
  No command
cscmdOK
  These commands are used for message boxes
cscmdPaletteChanged
  This broadcast message is posted after system palette has been changed
cscmdPostProcess
  Broadcasted after csApp::Process () finished to process messages in application message queue
cscmdPreProcess
  Broadcasted before csApp::Process () begins to process current messages in application message queue
cscmdQuit
  The event below causes application to quit immediately, no matter which window posted the event
cscmdRedraw
  This event is broadcasted to refresh invalidated components
cscmdRetry

## Documentation

> Predefined Windowing System Command Codes

> The 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:

> - 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
> 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.

`cscmdNothing`
  No command

`cscmdQuit`
  The event below causes application to quit immediately, no matter which window posted the event

`cscmdPreProcess`
  Broadcasted before csApp::Process () begins to process current messages in application message queue

`cscmdPostProcess`
  Broadcasted after csApp::Process () finished to process messages in application message queue

`cscmdRedraw`
  This event is broadcasted to refresh invalidated components

`cscmdFocusChanged`
  Program window changed in-focus status.

      IN: false -> window lose focus, true -> window got focus

`cscmdAreYouDefault`
  Query a control if it would like to be the default control in a dialog.

  The control is 'default' if it has a 'default' attribute (this is control-specific, for example buttons have the CSBSTY_DEFAULT style).

      IN: NULL
      OUT: (csComponent *) or NULL;

`cscmdActivate`
  This message is sent by parent to its active child to activate whatever action it does. For example, this message is sent by a dialog window to its active child when user presses Enter key.

      IN: NULL
      OUT: (csComponent *)this if successful;

`cscmdPaletteChanged`
  This broadcast message is posted after system palette has been changed. If class has looked up any colors in palette, it should redo it.

`cscmdHide`
  The "hide window" command

`cscmdMaximize`
  The "maximize window" command

`cscmdClose`
  The "close window" button

`cscmdOK`
  These commands are used for message boxes. MessageBox (...) returns cscmdOK, cscmdCancel and so on depending on which button user presses.

`cscmdCancel`

`cscmdAbort`

`cscmdRetry`

`cscmdIgnore`

alphabetic index hierarchy of classes

this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de