|
-
August 24th, 2010, 02:00 AM
#1
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
-
August 27th, 2010, 03:59 AM
#2
Re: How get a TabCtrl page color
GetSysColor(COLOR_3DFACE)
-
August 27th, 2010, 04:30 AM
#3
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|