User Tools

Site Tools

Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== GetStartColor (get starting gradient color) ====== Previous pageReturn to chapter overviewNext page

GetStartColor( MenuPart ), LONG

MenuPart A BYTE value representing a specific area of the menu. There are a series of internal equates available to easily identify these elements:
MenuBrushes:NormalBkgnd EQUATE(1) !Normal Background
MenuBrushes:SelectedBkgnd EQUATE(2) !Selected Background
MenuBrushes:HotBkgnd EQUATE(3) !Hot Background
MenuBrushes:ImageBkgnd EQUATE(4) !Image Background
MenuBrushes:NormalBarBkgnd EQUATE(5) !Normal Select Bar Background
MenuBrushes:SelectedBarBkgnd EQUATE(6) !Selected Bar Background
MenuBrushes:GrayBrush EQUATE(7) !Gray Brush
MenuBrushes:FrameBrush EQUATE(8) !Frame Brush


The GetStartColor method is used to retrieve the starting color of any MenuPart. The starting color represents the initial color of any menu gradient, and is represented by a LONG integer.


This method is used by the SetVerticalGradient method to determine the starting color of the specific vertical gradient to apply.

Return Data Type:     LONG

See Also:     SetVerticalGradient ( set vertical color gradient)

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