User Tools

Site Tools


menustyle_imenustyle_reference_.htm
Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== MenuStyle (IMenuStyle reference) ====== Previous pageReturn to chapter overviewNext page

MenuStyle     &IMenuStyle

blk2blue.jpg

The MenuStyle is a PROTECTED reference to the IMenuStyle interface declared in CWINI,INT as follows:

IMenuStyle     INTERFACE,COM

Clone            PROCEDURE (),*IMenuStyle

Destroy          PROCEDURE ()

SetDirty         PROCEDURE ()

MenuFont         PROCEDURE (),*IFontProperties

MenuBrush        PROCEDURE (UNSIGNED),*IBrush    !Index: MenuBrushes

MenuColor        PROCEDURE (UNSIGNED, COLORREF)  !Index: MenuColors

MenuColor        PROCEDURE (UNSIGNED),COLORREF   !Index: MenuColors

FlatMode         PROCEDURE (UNSIGNED)            !Value: FlatMenuMode

FlatMode         PROCEDURE (),UNSIGNED           !Value: FlatMenuMode

AlignShortcuts   PROCEDURE (BOOLEAN)

AlignShortcuts   PROCEDURE (),BOOLEAN  ! TRUE: Shortcuts are left aligned

              END

Implementation:

The MenuStyle interface is implemented through the InitMenuInterface method, and is used to hold the active menu style of the current application. The interface methods described above are used to modify various characteristics of the target menu structure.

See Also:     InitMenuInterface(initialize menu properties)

menustyle_imenustyle_reference_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1