SHOWACCELERATORS property (System)
Description
When set to TRUE$ this property overrides the Windows default setting that hides the keyboard shortcuts when the window is loaded from a Mouse action rather than from a Keyboard action (this setting was first introduced along with Visual Styling in Windows XP).
Property Value
This property is a boolean value. When set to TRUE$ keyboard shortcut indicators are always displayed, otherwise they are only shown when a window is created from a keyboard action. This property defaults to TRUE$.
Property Traits
Development | Runtime | Indexed | Scaled | Synthetic |
---|---|---|---|---|
(See remarks) | Get/Set | No | No | No |
Remarks
Earlier versions of OpenInsight always displayed keyboard shortcuts, hence this property defaults to TRUE$ to maintain backwards compatibility.
This setting can be controlled at design time by using the Application Properties dialog box in the OpenInsight IDE.
More information on this topic can be found by reviewing the Microsoft documentation on the following messages:
• WM_QUERYUISTATE
• WM_CHANGEUISTATE
• WM_UPDATEUISTATE
Example
// Get the current SHOWACCELERATORS setting IsShowAccelerators = Get_Property( "SYSTEM", "SHOWACCELERATORS" ) // Ensure they are always shown Call Set_Property( "SYSTEM", "SHOWACCELERATORS", TRUE$ )
See Also
N/A