User Tools

Site Tools

Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== AlignShortcutsToLeft ( position menu shortcuts to left ) ====== Previous pageReturn to chapter overviewNext page

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.


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 )

alignshortcutstoleft_position_menu_shortcuts_to_left_.htm.txt · Last modified: 2021/04/15 15:56 by