User Tools

Site Tools

Navigation:  Templates > Guide to all Templates > Additional Libraries and Templates > MenuStyleManager Class > MenuStyleManager Methods >====== GetTextColor( get menu text color ) ====== Previous pageReturn to chapter overviewNext page

GetTextColor( MenuTextType ), LONG


MenuTextType A BYTE value representing a specific type of menu text to color. There are a series of internal equates available to easily identify these elements:
MenuColors:NormalText EQUATE(1)
MenuColors:SelectedText EQUATE(2)
MenuColors:HotText EQUATE(3)
MenuColors:InactiveText EQUATE(4)

The GetTextColor method gets a color for the specified MenuTextType. It returns a LONG integer representing the 32-bit color used.


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 menu text color at runtime.

Return Data Type:     STRING

See Also:     SetTextColor( get menu text color )

gettextcolor_get_menu_text_color_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)