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

C / C++ / MFC

 
GeneralRe: Inclusion of header files Pin
David Crow21-Nov-08 2:40
David Crow21-Nov-08 2:40 
QuestionOpen-Source Antivirus Project Pin
whitewolf8819-Nov-08 22:55
whitewolf8819-Nov-08 22:55 
AnswerWrong forum Pin
CPallini19-Nov-08 23:29
mveCPallini19-Nov-08 23:29 
AnswerRe: Open-Source Antivirus Project Pin
Hamid_RT20-Nov-08 2:16
Hamid_RT20-Nov-08 2:16 
Question[Message Deleted] Pin
SeshaSridhar19-Nov-08 22:34
SeshaSridhar19-Nov-08 22:34 
AnswerRe: How to post a screen shot in code project Pin
Cedric Moonen19-Nov-08 23:25
Cedric Moonen19-Nov-08 23:25 
AnswerRe: How to post a screen shot in code project Pin
CPallini19-Nov-08 23:25
mveCPallini19-Nov-08 23:25 
QuestionCProgressCtrl Pin
josip cagalj19-Nov-08 22:23
josip cagalj19-Nov-08 22:23 
Hi to all.
I'm writing a small app using VS2008, I've placed an progress control on my dialog and set smooth property to true. Also in 'OnInitDialog()' set this:
m_Progress.SetRange(0,100);
m_Progress.SetPos(0);
m_Progress.SetBkColor(RGB(0,255,0));
m_Progress.SetBarColor(RGB(255,0,0));

I want to use this ctrl for showing how much space is left on something. E.g. the back color of progress ctrl is all green at beginning and as I step it I would like to show smooth and red color range.
The problem is that nothing of this is applied when I start the application, no smooth style bars they appear as default, back color is not set to green nor the bars are green.
How to achieve this?
Thanks!
P.S.
I'm on Win XP!
QuestionRe: CProgressCtrl Pin
Roger Stoltz20-Nov-08 1:08
Roger Stoltz20-Nov-08 1:08 
AnswerRe: CProgressCtrl Pin
josip cagalj20-Nov-08 1:20
josip cagalj20-Nov-08 1:20 
AnswerRe: CProgressCtrl Pin
Roger Stoltz20-Nov-08 1:36
Roger Stoltz20-Nov-08 1:36 
QuestionHow to create Middleware application between our own client and server for monitoring the data. Pin
Member 462021619-Nov-08 20:42
Member 462021619-Nov-08 20:42 
AnswerRe: How to create Middleware application between our own client and server for monitoring the data. Pin
Iain Clarke, Warrior Programmer19-Nov-08 21:46
Iain Clarke, Warrior Programmer19-Nov-08 21:46 
QuestionSerializing the objects of a class Pin
Taruni19-Nov-08 20:23
Taruni19-Nov-08 20:23 
AnswerRe: Serializing the objects of a class Pin
Cedric Moonen19-Nov-08 20:50
Cedric Moonen19-Nov-08 20:50 
Questionxml parsing in MFC Pin
AnithaSubramani19-Nov-08 20:12
AnithaSubramani19-Nov-08 20:12 
AnswerRe: xml parsing in MFC Pin
Cedric Moonen19-Nov-08 20:15
Cedric Moonen19-Nov-08 20:15 
AnswerRe: xml parsing in MFC Pin
Hamid_RT19-Nov-08 20:20
Hamid_RT19-Nov-08 20:20 
GeneralOT: Re: YARP parser Pin
Iain Clarke, Warrior Programmer19-Nov-08 21:49
Iain Clarke, Warrior Programmer19-Nov-08 21:49 
GeneralRe: OT: Re: YARP parser Pin
Randor 19-Nov-08 21:57
professional Randor 19-Nov-08 21:57 
GeneralRe: OT: Re: YARP parser Pin
CPallini23-Nov-08 8:18
mveCPallini23-Nov-08 8:18 
GeneralRe: OT: Re: YARP parser Pin
Randor 24-Nov-08 3:48
professional Randor 24-Nov-08 3:48 
AnswerRe: xml parsing in MFC Pin
adam george16-Feb-09 23:52
adam george16-Feb-09 23:52 
QuestionElevating the process to create the file at ACCESS_DENIED Position Pin
VCProgrammer19-Nov-08 19:52
VCProgrammer19-Nov-08 19:52 
AnswerRe: Elevating the process to create the file at ACCESS_DENIED Position Pin
SandipG 19-Nov-08 20:04
SandipG 19-Nov-08 20:04 

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.