|
-
May 4th, 1999, 09:35 PM
#1
How to create a process bar at the beginning of Dialog?
Hi:
I want to use a process bar in a dialog,when the dialog appears,the process will begin to work,I don't want to use any button in the dialog,so I push the code at the function OnInitDialog().But when the dialog appears,the process has finished.How can I control it?Please help me.
-
May 26th, 1999, 12:44 PM
#2
Re: How to create a process bar at the beginning of Dialog?
You have at least two options:
1) Add a public member function to your dialog class and put the code in it. Once your dialog is created, you can call this member function from outside of your dialog class.
2) Override OnTimer(). Set a timer just before your return call in OnInitDialog(), then add your progress code in the timer handler.
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
|