Click here to Skip to main content
15,911,142 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Error?? Pin
George L. Jackson24-Nov-06 12:40
George L. Jackson24-Nov-06 12:40 
GeneralRe: Error?? Pin
Larsson24-Nov-06 12:42
Larsson24-Nov-06 12:42 
GeneralRe: Error?? Pin
George L. Jackson24-Nov-06 12:42
George L. Jackson24-Nov-06 12:42 
GeneralRe: Error?? Pin
Larsson24-Nov-06 12:44
Larsson24-Nov-06 12:44 
GeneralRe: Error?? Pin
George L. Jackson24-Nov-06 12:51
George L. Jackson24-Nov-06 12:51 
GeneralRe: Error?? Pin
Larsson24-Nov-06 12:56
Larsson24-Nov-06 12:56 
GeneralRe: Error?? Pin
CPallini24-Nov-06 21:30
mveCPallini24-Nov-06 21:30 
QuestionControl transparency Pin
damir_tk24-Nov-06 9:38
damir_tk24-Nov-06 9:38 
Hi everybody.

I just can not set a transparency for the cation part of the group box control. The project is a standat Visual C++ windows application, no MFC, I use ATL for windows (CDialogImpl), but it should be the same as for any other project that does not include the MFC. So, I can intercept the message that paints the static controls, and make static controls transparent like this in OnCtlColorStatic:

::SetBkMode((HDC)wParam, TRANSPARENT);
return (LRESULT) GetStockObject (HOLLOW_BRUSH);

but how to do that for a group box control? The caption of it gets a weird gray color, and I just can not get rid off it.

Thanks.
AnswerRe: Control transparency Pin
Waldermort24-Nov-06 10:12
Waldermort24-Nov-06 10:12 
GeneralRe: Control transparency Pin
damir_tk24-Nov-06 10:30
damir_tk24-Nov-06 10:30 
GeneralRe: Control transparency Pin
Waldermort24-Nov-06 10:48
Waldermort24-Nov-06 10:48 
GeneralRe: Control transparency Pin
damir_tk24-Nov-06 10:50
damir_tk24-Nov-06 10:50 
GeneralRe: Control transparency Pin
Mark Salsbery24-Nov-06 11:15
Mark Salsbery24-Nov-06 11:15 
GeneralRe: Control transparency Pin
Waldermort24-Nov-06 17:20
Waldermort24-Nov-06 17:20 
AnswerRe: Control transparency Pin
Michael Dunn24-Nov-06 10:55
sitebuilderMichael Dunn24-Nov-06 10:55 
GeneralRe: Control transparency Pin
damir_tk24-Nov-06 12:40
damir_tk24-Nov-06 12:40 
GeneralRe: Control transparency Pin
Mark Salsbery24-Nov-06 12:49
Mark Salsbery24-Nov-06 12:49 
GeneralRe: Control transparency Pin
damir_tk24-Nov-06 13:02
damir_tk24-Nov-06 13:02 
GeneralRe: Control transparency Pin
Mark Salsbery24-Nov-06 13:26
Mark Salsbery24-Nov-06 13:26 
GeneralRe: Control transparency Pin
damir_tk24-Nov-06 13:51
damir_tk24-Nov-06 13:51 
QuestionBHO in IE7 [modified] Pin
Kharfax24-Nov-06 8:38
Kharfax24-Nov-06 8:38 
AnswerRe: BHO in IE7 Pin
Waldermort24-Nov-06 8:47
Waldermort24-Nov-06 8:47 
GeneralRe: BHO in IE7 Pin
Kharfax24-Nov-06 9:29
Kharfax24-Nov-06 9:29 
AnswerRe: BHO in IE7 Pin
Michael Dunn24-Nov-06 10:58
sitebuilderMichael Dunn24-Nov-06 10:58 
GeneralRe: BHO in IE7 Pin
Kharfax27-Nov-06 1:07
Kharfax27-Nov-06 1:07 

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.