| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > MenuStyleManager Class > MenuStyleManager Methods >====== GetEndColor (get ending gradient color) ====== | [[clearthemevalues.htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[getflatmode get menu flat mode .htm|{{btn_next_n.gif|Next page}}]] | | || **GetEndColor( **//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 | {{blk2blue.jpg|blk2blue.jpg}} The **GetEndColor** method is used to retrieve the ending color of any //MenuPart//. The ending color represents the finishing color of any menu gradient, and is represented by a LONG integer. **Implementation:** This method is used by the **SetVerticalGradient** method to determine the ending color of the specific vertical color gradient to apply. **Return Data Type:**     LONG **See Also:**   **[[setverticalgradient set vertical color gradient .htm|SetVerticalGradient ( set vertical color gradient )]]**