Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change the color font of menu label
#18
To create common menu DC I use this algorithm. Maybe a better way exist.

Get NONCLIENTMETRICSW with SystemParametersInfoW(SPI_GETNONCLIENTMETRICS...);
From its lfMenuFont create font with CreateFontIndirectW.
Create DC with CreateCompatibleDC and select the font with SelectObject.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)