Click to See Complete Forum and Search --> : HOW TO change the background when using CDC::TextOut ??


April 28th, 1999, 04:53 AM
Hi,

When I use CDC::TextOut on my dialog box, the text is written correctly, put there is always a white background !! I would like to have the system background.

Could you help me with that ?

Thans for your help.

Anonymous

real name
April 28th, 1999, 06:39 AM
try dc.SetBKColor(GetSysColor(COLOR_...));
(and return BK color back after operation)

April 28th, 1999, 07:01 AM
Thanks, it works with COLOR_MENU.

real name
April 28th, 1999, 07:06 AM
why not COLOR_WINDOW?