Example

This example creates an accelerator table whose accelerator-table identifier is 1. The table contains two accelerators: Ctrl+S and Ctrl+G. These accelerators generate WM_COMMAND messages with values of 101 and 102, respectively, when the user presses the corresponding keys.

  ACCELTABLE 1
  BEGIN
      "S", 101, CONTROL
      "G", 102, CONTROL
  END


[Back: Description]
[Next: ASSOCTABLE Statement]