GetTextColor( get menu text color )

Top  Previous  Next

 

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.

Implementation:

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 )