Click here to Skip to main content
16,013,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++ .NET bug? Pin
Hesham Amin9-Mar-03 21:14
Hesham Amin9-Mar-03 21:14 
GeneralRe: Visual C++ .NET bug? Pin
Davide Pizzolato10-Mar-03 1:52
Davide Pizzolato10-Mar-03 1:52 
QuestionVSS API Interface ? Pin
vikramj9-Mar-03 20:21
vikramj9-Mar-03 20:21 
AnswerRe: VSS API Interface ? Pin
Baris Kurtlutepe10-Mar-03 0:43
Baris Kurtlutepe10-Mar-03 0:43 
GeneralString Table used in DLL Pin
stevenson9-Mar-03 20:01
stevenson9-Mar-03 20:01 
GeneralRe: String Table used in DLL Pin
Hans Ruck9-Mar-03 21:39
Hans Ruck9-Mar-03 21:39 
GeneralWindows Media Format SDK Problem Pin
RaajaOfSelf9-Mar-03 19:01
RaajaOfSelf9-Mar-03 19:01 
GeneralGradientProgressCtrl Pin
sunsam9-Mar-03 17:22
sunsam9-Mar-03 17:22 
Hi All,

I am trying to use a gradient control in my mfc app. And for that I downloaded the code from this website

http://www.codeproject.com/miscctrl/gradientprogressctrl.asp

I am using the GradientProgressCtrl.cpp class to implement in my mfc program. NOw one question is, since I am using the vertical control, how am I supposed to show the filling from BOTTOM TO TOP. The sample code shows the filling from top to bottom. I have looked into the code but nothing happened Frown | :( .

MY xyz.cpp uses it in the foll way where m_progbar is the instantiation of GradientProgressCtrl class. m_progbar is declared in xyz.h file.
m_Progbar.ShowPercent(TRUE);
m_Progbar.SetStep(20);
m_Progbar.StepIt();

My problem is that, after completion of 100 in the bar ctrl. I have to restart the app as filling of the bar stops after it completes the filling of the control.

I have triied lookin in the code but no use Frown | :(
Can you please help me with this.??

Thank a lot!!!

GeneralVisual SafeSource Pin
Anonymous9-Mar-03 12:49
Anonymous9-Mar-03 12:49 
GeneralRe: Visual SafeSource Pin
Anders Molin9-Mar-03 13:20
professionalAnders Molin9-Mar-03 13:20 
QuestionHow to add shell32.lib to project... Pin
JoeSox9-Mar-03 12:17
JoeSox9-Mar-03 12:17 
AnswerRe: How to add shell32.lib to project... Pin
Anders Molin9-Mar-03 12:24
professionalAnders Molin9-Mar-03 12:24 
QuestionHandle error??? Pin
cemlouis9-Mar-03 10:49
cemlouis9-Mar-03 10:49 
GeneralMDI Views... Pin
Anonymous9-Mar-03 9:36
Anonymous9-Mar-03 9:36 
GeneralRe: MDI Views... Pin
Brian Shifrin10-Mar-03 2:33
Brian Shifrin10-Mar-03 2:33 
GeneralLines Pin
cerb-dk9-Mar-03 9:31
cerb-dk9-Mar-03 9:31 
GeneralRe: Lines Pin
Dave Bryant9-Mar-03 15:53
Dave Bryant9-Mar-03 15:53 
GeneralWriting to a file with CInternetSession Pin
Gilfrog9-Mar-03 9:23
Gilfrog9-Mar-03 9:23 
GeneralRe: Writing to a file with CInternetSession Pin
Big Art9-Mar-03 12:21
Big Art9-Mar-03 12:21 
QuestionHow to suck up CPU time? Pin
Jim A. Johnson9-Mar-03 9:05
Jim A. Johnson9-Mar-03 9:05 
AnswerRe: How to suck up CPU time? Pin
Chris Losinger9-Mar-03 9:21
professionalChris Losinger9-Mar-03 9:21 
AnswerRe: How to suck up CPU time? Pin
Anders Molin9-Mar-03 9:57
professionalAnders Molin9-Mar-03 9:57 
GeneralRe: How to suck up CPU time? Pin
Jim A. Johnson9-Mar-03 10:25
Jim A. Johnson9-Mar-03 10:25 
GeneralVar/Fn tracking in Studio Pin
john john mackey9-Mar-03 8:08
john john mackey9-Mar-03 8:08 
GeneralFile Icones Pin
Mazdak9-Mar-03 5:26
Mazdak9-Mar-03 5:26 

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.