|
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.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|