Click to See Complete Forum and Search --> : Progress control
veesub
May 9th, 1999, 11:50 PM
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
use the style PBS_SMOOTH. you can set this in the dialog editor in VC++ 6.
veesub
May 10th, 1999, 12:23 AM
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
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.
veesub
May 10th, 1999, 12:53 AM
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
August 13th, 1999, 02:30 AM
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.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.