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

C / C++ / MFC

 
GeneralRe: 2 Class Circular Reference Pin
Cedric Moonen1-Sep-05 22:50
Cedric Moonen1-Sep-05 22:50 
GeneralRe: 2 Class Circular Reference Pin
Fehma1-Sep-05 23:08
Fehma1-Sep-05 23:08 
GeneralRe: 2 Class Circular Reference Pin
Cedric Moonen1-Sep-05 23:20
Cedric Moonen1-Sep-05 23:20 
GeneralRe: 2 Class Circular Reference Pin
Fehma1-Sep-05 23:55
Fehma1-Sep-05 23:55 
GeneralRe: 2 Class Circular Reference Pin
Cedric Moonen1-Sep-05 23:59
Cedric Moonen1-Sep-05 23:59 
GeneralRe: 2 Class Circular Reference Pin
Fehma2-Sep-05 0:06
Fehma2-Sep-05 0:06 
GeneralRe: 2 Class Circular Reference Pin
Fehma2-Sep-05 2:09
Fehma2-Sep-05 2:09 
QuestionStatic Control Background Painting Pin
Joel Holdsworth1-Sep-05 22:15
Joel Holdsworth1-Sep-05 22:15 
Hi,

I have a question about static controls and how their backgrounds are painted. If I place a static control on a normal dialog, the background of that dialog is a uniform system grey, and the present static seem to paint their own backgrounds to match that. However, in XP property pages, the background is not uniform, it's a kinda whitish gradient fill. How do the static controls erase their backgrounds here? Do they set themselves to be transparent somehow, and let the parent page paint the whole background over which they just draw the text, but not any background, or do they call some function in the parent page asking it to paint a specific portion of background covered by the static control? I'm asking because I need to replicate this effect, in a custom window of mine. Any clues?

Joel Holdsworth

-- modified at 4:19 Friday 2nd September, 2005
AnswerRe: Static Control Background Painting Pin
Neagoe Gabriel2-Sep-05 0:04
Neagoe Gabriel2-Sep-05 0:04 
GeneralRe: Static Control Background Painting Pin
Joel Holdsworth2-Sep-05 1:15
Joel Holdsworth2-Sep-05 1:15 
QuestionDifference between Instance and Context Pin
badal_akr1-Sep-05 21:42
badal_akr1-Sep-05 21:42 
AnswerRe: Difference between Instance and Context Pin
toxcct1-Sep-05 21:50
toxcct1-Sep-05 21:50 
QuestionSetForeGroundWindow with XP Pin
dharani1-Sep-05 21:02
dharani1-Sep-05 21:02 
AnswerRe: SetForeGroundWindow with XP Pin
khan++1-Sep-05 21:09
khan++1-Sep-05 21:09 
AnswerRe: SetForeGroundWindow with XP Pin
ThatsAlok2-Sep-05 0:07
ThatsAlok2-Sep-05 0:07 
AnswerRe: SetForeGroundWindow with XP Pin
Marc Soleda2-Sep-05 1:44
Marc Soleda2-Sep-05 1:44 
AnswerRe: SetForeGroundWindow with XP Pin
Gary R. Wheeler3-Sep-05 3:53
Gary R. Wheeler3-Sep-05 3:53 
Questionwhat is the difference? Pin
Anonymous1-Sep-05 20:33
Anonymous1-Sep-05 20:33 
AnswerRe: what is the difference? Pin
toxcct1-Sep-05 20:58
toxcct1-Sep-05 20:58 
AnswerRe: what is the difference? Pin
Gary R. Wheeler3-Sep-05 4:18
Gary R. Wheeler3-Sep-05 4:18 
QuestionStrange Acclerator Table Problem Pin
megafont1-Sep-05 19:42
megafont1-Sep-05 19:42 
NewsRe: Strange Acclerator Table Problem Pin
megafont2-Sep-05 18:26
megafont2-Sep-05 18:26 
QuestionGetting Internet Information Pin
rajeevktripathi1-Sep-05 19:21
rajeevktripathi1-Sep-05 19:21 
QuestionCan I use Visual C++ *.lib into C#? Pin
uumeme1-Sep-05 18:55
uumeme1-Sep-05 18:55 
AnswerRe: Can I use Visual C++ *.lib into C#? Pin
Christian Graus1-Sep-05 18:59
protectorChristian Graus1-Sep-05 18:59 

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.