Button Selection

The user can select a button in three ways: by clicking it with the mouse, by tabbing to it and then pressing the ENTER key, or (if the button is part of a group defined by the WS_GROUP style) by tabbing to the selected button in the group and using the arrow keys to move within that group. The two tabbing methods are part of the predefined keyboard interface provided by Windows. For a complete description of this interface, see Dialog Boxes.

Selecting a button typically causes the following events:

  • Windows gives the button the keyboard focus.

  • The button sends its parent window a message to notify it of the selection.

  • The parent window (or Windows) sends the button a message to change its state.

  • The parent window (or Windows) repaints the button to reflect its new state.

The following topics discuss these events and button states in greater detail.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database