guides:oi10:presentation_server:showaccelerators_property_system

SHOWACCELERATORS property (System)

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).

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$.

DevelopmentRuntimeIndexedScaledSynthetic
(See remarks)Get/SetNoNoNo

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

 
// Get the current SHOWACCELERATORS setting

   

   IsShowAccelerators = Get_Property( "SYSTEM", "SHOWACCELERATORS" )

   

   // Ensure they are always shown

   

   Call Set_Property( "SYSTEM", "SHOWACCELERATORS", TRUE$ )
 
 
 

N/A

  • guides/oi10/presentation_server/showaccelerators_property_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1