AlignShortcutsToLeft ( position menu shortcuts to left )

Top  Previous  Next

 

AlignShortcutsToLeft( value )

 

 

value

An optional BYTE value used to position any menu shortcuts. The default value is 1.

 

The AlignShortcutsToLeft method is used to left align the menu shortcuts or hot keys specified. These shortcuts always appear to the right of the menu text. This method is used to simply determine how they are aligned. If value is zero (0), the shortcuts are right aligned.

Implementation:

The method is not called anywhere within the MenuStyleManager Class. It is an optional method that can be used by the developer to detect and possibly change the alignment of menu shortcuts at runtime.

See Also:     AreShortcutsLeftAligned ( detect left aligned menu shortcuts )