Click here to Skip to main content
15,922,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralADO Error Pin
Toni788-Apr-03 22:21
Toni788-Apr-03 22:21 
Generalwin32 api - toolbar Pin
Anonymous8-Apr-03 21:48
Anonymous8-Apr-03 21:48 
GeneralMapping client controls messages in a CFromView Pin
Anonymous8-Apr-03 21:17
Anonymous8-Apr-03 21:17 
GeneralAdding MFC to a console application Pin
R.E.L8-Apr-03 20:42
R.E.L8-Apr-03 20:42 
GeneralRe: Adding MFC to a console application Pin
harinath8-Apr-03 22:34
professionalharinath8-Apr-03 22:34 
GeneralThread's Problem Pin
fyf_tmp8-Apr-03 20:41
fyf_tmp8-Apr-03 20:41 
QuestionMicrosoft Web Browser Object into DialogBox, without MFC? Pin
Adrian Bacaianu8-Apr-03 20:16
Adrian Bacaianu8-Apr-03 20:16 
GeneralProblem in changing the progress abr color Pin
summo8-Apr-03 20:06
summo8-Apr-03 20:06 
Cool | :cool: Problem in changing the progress abr color
I want to incrementing in a progress bar in loop

for(int i = 0; i < 3800; i++){
m_pb1.SetPos(i);
}
I just want to change the color of progress bar(i.e from blue to something else) and want to show the percentage of progress inside the progress bar. (i.e if 80% of the bar is colored then "Usage = 80%" should appear inside the progress bar).

The following code is taken from a working project but it is not working in my program.

m_pb1.SetTextFormat("Usage : %d%%", PBS_SHOW_PERCENT);
m_pb1.SetGradientColors(RGB(206,255,157),RGB(0,130,0));
m_pb1.Invalidate();

Plz suggest me the way of doing so.



Reply me soon
QuestionCList inside CMap not working? Pin
Kevein8-Apr-03 16:51
Kevein8-Apr-03 16:51 
AnswerRe: CList inside CMap not working? Pin
Dave Bryant8-Apr-03 16:54
Dave Bryant8-Apr-03 16:54 
GeneralRe: CList inside CMap not working? Pin
Kevein8-Apr-03 17:07
Kevein8-Apr-03 17:07 
GeneralRe: CList inside CMap not working? Pin
Dave Bryant8-Apr-03 17:14
Dave Bryant8-Apr-03 17:14 
GeneralRe: CList inside CMap not working? Pin
Kevein8-Apr-03 17:45
Kevein8-Apr-03 17:45 
AnswerRe: CList inside CMap not working? Pin
Shog98-Apr-03 17:17
sitebuilderShog98-Apr-03 17:17 
GeneralRe: CList inside CMap not working? Pin
Kevein8-Apr-03 17:46
Kevein8-Apr-03 17:46 
QuestionHow to add closed caption to Video Pin
Prudhvi Raju8-Apr-03 16:24
Prudhvi Raju8-Apr-03 16:24 
GeneralQ: winmm.lib and WAVE Output Pin
europajacek8-Apr-03 15:28
europajacek8-Apr-03 15:28 
GeneralPointer to DWORD Pin
DuFF8-Apr-03 14:36
DuFF8-Apr-03 14:36 
GeneralRe: Pointer to DWORD Pin
Taka Muraoka8-Apr-03 14:59
Taka Muraoka8-Apr-03 14:59 
GeneralRe: Pointer to DWORD Pin
DuFF8-Apr-03 15:21
DuFF8-Apr-03 15:21 
GeneralRe: Pointer to DWORD Pin
Taka Muraoka8-Apr-03 15:27
Taka Muraoka8-Apr-03 15:27 
GeneralAutomation compliant COM Vs ActiveX Pin
devvvy8-Apr-03 12:59
devvvy8-Apr-03 12:59 
GeneralRe: Automation compliant COM Vs ActiveX Pin
J. Dunlap8-Apr-03 14:02
J. Dunlap8-Apr-03 14:02 
GeneralRe: Automation compliant COM Vs ActiveX Pin
Anonymous8-Apr-03 17:57
Anonymous8-Apr-03 17:57 
GeneralRe: Automation compliant COM Vs ActiveX Pin
J. Dunlap8-Apr-03 18:01
J. Dunlap8-Apr-03 18:01 

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.