GetFont( get menu text font)

Top  Previous  Next

 

GetFont(*FontName,*FontSize,*FontStyle,*FontCharSet,*FontAngle,*FontColor)

 

 

The GetFont method is used to return the font characteristics for the active menu bar. The returned values are assigned to a set of internally referenced values:

 

FontName    *CSTRING,RAW

FontSize    SIGNED

FontStyle   DWORD

FontCharSet BYTE

FontAngle   LONG

FontColor   COLORREF

 

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 font at runtime.

See Also:     SetFont ( set menu text font)