How get a TabCtrl page color
Hi,
TabCtrl have a different color with MFC, base on i.e. application and system settings (i.e. base on character set - unicode or dblbyte).
I need to get at a runtime a current color for this application (I drawing a controls on it with a background what shoud have same color).
How to get it ?
Thnx in advance
OlekBa
Re: How get a TabCtrl page color
GetSysColor(COLOR_3DFACE)
Re: How get a TabCtrl page color
This is not a solution. Independet what are a applicaction setting, this function always return same color. If you compile as dblbyte this will be right, but if you complile as unicode - not (at this time page color is white). It is alsow different with manifest file and with OS.