System Menu
Windows gives a dialog box a System menu when the template specifies the
WS_SYSMENU style. To prevent inappropriate command input, Windows automatically
disables all commands in the menu except the Move and Close commands. The user can
use the Move command to move the dialog box. When the user chooses the Close
command, Windows sends a
WM_COMMAND message to the dialog box procedure with the
wParam parameter set to IDCANCEL. This is identical to the message sent by the
Cancel button when the user chooses it. The recommended action for this message is
to close the dialog box and cancel the requested command or task.
Although other menus in dialog boxes are not recommended, a dialog box
template can specify a menu by supplying the identifier or the name of a menu
resource. In this case, Windows loads the resource and creates the menu for the dialog
box. Applications typically use menu identifiers or names in templates when
using the templates to create custom windows rather than dialog boxes.
- 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