Click here to Skip to main content
15,888,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Threads & CPropertySheet Pin
pmarki20-May-02 8:46
pmarki20-May-02 8:46 
GeneralRe: Threads & CPropertySheet Pin
Prem Kumar20-May-02 9:16
Prem Kumar20-May-02 9:16 
Generalincluding img. into a project Pin
Fred D.20-May-02 8:24
Fred D.20-May-02 8:24 
GeneralRe: including img. into a project Pin
Chris Losinger20-May-02 8:24
professionalChris Losinger20-May-02 8:24 
GeneralWorker thread question Pin
RobJones20-May-02 8:23
RobJones20-May-02 8:23 
GeneralRe: Worker thread question Pin
Bill Wilson20-May-02 8:25
Bill Wilson20-May-02 8:25 
GeneralRe: Worker thread question Pin
Prem Kumar20-May-02 8:31
Prem Kumar20-May-02 8:31 
GeneralControl Colors Pin
Mike Doner20-May-02 8:08
Mike Doner20-May-02 8:08 
Hey folks..

I have a dialog based application who's background is a DARK_CYAN color. I have two TabControls on this dialog, each of which need to have a different background brush.

When I call:

SetClassLong ( hwndFirstTab, GCL_HBRBACKGROUND, (LONG) hDarkCyanBrush );

It sets the background of both tab-controls to be DarkCyan, and understandably so, "class" = controls of type in Win32.

Anyone have any tips that would give me what I want, without getting my hands into CustomDrawing?

I've looked at SetWindowLong() for an option to change the background brush, but no luck.

Thanks!
Mike
doner@obtain.com

GeneralRe: Control Colors Pin
Shog920-May-02 13:38
sitebuilderShog920-May-02 13:38 
GeneralCan't get ios::binary mode to work Pin
JohnnyG20-May-02 7:36
JohnnyG20-May-02 7:36 
GeneralRe: Can't get ios::binary mode to work Pin
Joaquín M López Muñoz20-May-02 10:11
Joaquín M López Muñoz20-May-02 10:11 
GeneralRe: Can't get ios::binary mode to work Pin
JohnnyG20-May-02 11:09
JohnnyG20-May-02 11:09 
GeneralRe: Can't get ios::binary mode to work Pin
Chris Losinger20-May-02 11:18
professionalChris Losinger20-May-02 11:18 
GeneralRe: Can't get ios::binary mode to work Pin
Ernest Laurentin20-May-02 11:51
Ernest Laurentin20-May-02 11:51 
GeneralRe: Can't get ios::binary mode to work Pin
JohnnyG20-May-02 11:16
JohnnyG20-May-02 11:16 
GeneralHTML Dialog Pin
Sumudu Perera20-May-02 7:11
Sumudu Perera20-May-02 7:11 
GeneralRe: HTML Dialog Pin
Prem Kumar20-May-02 7:23
Prem Kumar20-May-02 7:23 
Generalusing dialog data Pin
RalfPeter20-May-02 7:08
RalfPeter20-May-02 7:08 
GeneralRe: using dialog data Pin
Prem Kumar20-May-02 7:17
Prem Kumar20-May-02 7:17 
GeneralRe: using dialog data Pin
Alvaro Mendez20-May-02 9:58
Alvaro Mendez20-May-02 9:58 
GeneralArray of objects with classwizard Pin
RuiSantiago20-May-02 6:47
RuiSantiago20-May-02 6:47 
GeneralRe: Array of objects with classwizard Pin
Nish Nishant20-May-02 7:06
sitebuilderNish Nishant20-May-02 7:06 
GeneralRe: Array of objects with classwizard Pin
Prem Kumar20-May-02 7:13
Prem Kumar20-May-02 7:13 
GeneralRe: Array of objects with classwizard Pin
RuiSantiago20-May-02 8:24
RuiSantiago20-May-02 8:24 
GeneralRe: Array of objects with classwizard Pin
RuiSantiago20-May-02 9:00
RuiSantiago20-May-02 9:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.