|
-
May 9th, 1999, 11:50 PM
#1
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
-
May 10th, 1999, 12:11 AM
#2
Re: Progress control
use the style PBS_SMOOTH. you can set this in the dialog editor in VC++ 6.
-
May 10th, 1999, 12:23 AM
#3
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
-
May 10th, 1999, 12:43 AM
#4
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.
-
May 10th, 1999, 12:53 AM
#5
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
-
August 13th, 1999, 02:30 AM
#6
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|