Click here to Skip to main content
15,915,691 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Fillcolor for ellipse Pin
CPallini10-Jul-08 22:53
mveCPallini10-Jul-08 22:53 
Questiondraw stack bar graph using vc++ Pin
ani_ikram10-Jul-08 22:09
ani_ikram10-Jul-08 22:09 
AnswerRe: draw stack bar graph using vc++ Pin
CPallini10-Jul-08 22:29
mveCPallini10-Jul-08 22:29 
GeneralRe: draw stack bar graph using vc++ Pin
ani_ikram10-Jul-08 22:47
ani_ikram10-Jul-08 22:47 
GeneralRe: draw stack bar graph using vc++ Pin
CPallini10-Jul-08 22:55
mveCPallini10-Jul-08 22:55 
AnswerRe: draw stack bar graph using vc++ Pin
SandipG 10-Jul-08 22:42
SandipG 10-Jul-08 22:42 
Questionwrong variable value from debugger on x64 Pin
George_George10-Jul-08 21:54
George_George10-Jul-08 21:54 
QuestionHow can I make theme-awared transparent control with UXTheme library (MFC / VC++ 2005) Pin
xanagan66610-Jul-08 21:39
xanagan66610-Jul-08 21:39 
I have a request to make my currently developing program look less dull.
(the program is some kind of speech training/patient database front end program use for disabled childrens / physician so it going to look somewhat lively).

so I draw the background using GDI plus (in WM_PAINT/OnPaint).

since now my dialog had a background it also required the text path of other control like static text,group box and checkbox/radio button to be transparent.

I try using some basic method by sub-classing the control and override
WM_CTLCOLOR_REFLECT of the said class then set background mode to transparent and return HOLLOW_BRUSH , NULL_BRUSH .

But like everybody known , those method above only work for static text control.

calling pDC->SetTextColor on button(push,radio,check)/group-box
doesn't even change the text color of these control.

I guess that when the theme is enable Windows XP/VISTA doesn't use those information (background mode/text color) to draw the button control (push,radio,check) and group-box anymore.

My guess is that I have to do an owner-drawn by override OnDrawItem and draw the button based on it stage.

but since I only want the text-background of the control to be transparent
have to totally redesigned/drawing the checkbox/radio button is to much
(and it not gonna look like the standard-themed one).

then I found some info on these UXTheme library,can this library help in some way?

I really hope that someday MFC will come with those set bitmap,set color text,set transparent function so that I will not have to jeliously look at
.NET / VCL anymore since I am going to live with native c++ for a very long time.

Sorry for my bad english.

Thank in advance.
Questioni can't understand why this result is showed~ Pin
Jung Seng Won10-Jul-08 21:36
Jung Seng Won10-Jul-08 21:36 
AnswerRe: i can't understand why this result is showed~ Pin
_AnsHUMAN_ 10-Jul-08 21:44
_AnsHUMAN_ 10-Jul-08 21:44 
AnswerRe: i can't understand why this result is showed~ Pin
Cedric Moonen10-Jul-08 21:47
Cedric Moonen10-Jul-08 21:47 
AnswerRe: i can't understand why this result is showed~ Pin
SandipG 10-Jul-08 21:50
SandipG 10-Jul-08 21:50 
AnswerRe: i can't understand why this result is showed~ Pin
CPallini10-Jul-08 22:02
mveCPallini10-Jul-08 22:02 
AnswerRe: i can't understand why this result is showed~ Pin
Stephen Hewitt10-Jul-08 22:12
Stephen Hewitt10-Jul-08 22:12 
Questiongraph using ProEssentials v6 in vc++ Pin
ani_ikram10-Jul-08 21:32
ani_ikram10-Jul-08 21:32 
QuestionHow to communicate between two activex? Pin
manish.patel10-Jul-08 21:09
manish.patel10-Jul-08 21:09 
QuestionConvert English letter to japenese Pin
manju#12310-Jul-08 20:54
manju#12310-Jul-08 20:54 
QuestionRe: Convert English letter to japenese Pin
jazy110-Jul-08 23:09
jazy110-Jul-08 23:09 
AnswerRe: Convert English letter to japenese [modified] Pin
Michael Schubert11-Jul-08 2:48
Michael Schubert11-Jul-08 2:48 
QuestionHow to create a .h file in C++? Pin
Shah Ravi10-Jul-08 20:50
Shah Ravi10-Jul-08 20:50 
AnswerRe: How to create a .h file in C++? Pin
Richard Andrew x6410-Jul-08 20:57
professionalRichard Andrew x6410-Jul-08 20:57 
GeneralRe: How to create a .h file in C++? Pin
Shah Ravi10-Jul-08 21:01
Shah Ravi10-Jul-08 21:01 
GeneralRe: How to create a .h file in C++? Pin
Richard Andrew x6410-Jul-08 21:05
professionalRichard Andrew x6410-Jul-08 21:05 
GeneralRe: How to create a .h file in C++? Pin
Cedric Moonen10-Jul-08 21:39
Cedric Moonen10-Jul-08 21:39 
AnswerRe: How to create a .h file in C++? Pin
T.RATHA KRISHNAN10-Jul-08 22:47
T.RATHA KRISHNAN10-Jul-08 22:47 

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.