-
Progress control
Hi all,
I'm using CProgressCtrl class to implement a progress bar. The progress is not smooth and it is progressing by displaying blocks of rectangles. I don't like this. Is there any way to implement it such that it shows a smooth progress.
thanks in advance
bye
-
Re: Progress control
use the style PBS_SMOOTH. you can set this in the dialog editor in VC++ 6.
-
Re: Progress control
Hello,
I am not creating the progress control through the dialog editor. I'm creating it directly through the code by deriving a class from CProgressCtrl and I couldn't find any member functions of CProgressCtrl that can be used to set the style of the control. Please give me a solution.
bye
-
Re: Progress control
ok, so you're calling the Create() function then to create the progress control? just include the PBS_SMOOTH style for the dwStyle parameter of this function.
-
Re: Progress control
Thank you,
If you don't mind, can I ask another question? The question is how can I arrange the controls in a dialog when the dialog is resized.
thanks in advance
bye
-
Re: Progress control
How did you create a CProgressCtrl in your dialog window? I cant seem to manage it. my problem is that the dialog window wont display.
Can you please post your dialog windows .cpp and .h file so i may see how it should be coded.