| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > MenuStyleManager Class > MenuStyleManager Methods >====== MenuHasGradient ( does menu part have gradient applied ) ====== | [[iswindowsthemeignored.htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[menuinterface imenuinterface reference .htm|{{btn_next_n.gif|Next page}}]] | | || **MenuHasGradient(**//MenuPart//**), BYTE** {{blk2blue.jpg|blk2blue.jpg}} | //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 **MenuHasGradient** method is used to detect if a gradient color is applied to a specified target //MenuPart//. If the method returns TRUE, a gradient color is currently in use. **Implementation:** This method is currently not implemented by the **MenuClassManager** object, but is available to the developer if manual processing of any MENUBAR is preferred. **Return Data Type:**     **BYTE** **See Also:     [[setcolor specify color for menu part .htm|SetColor ( specify color for menu part )]]**