Modeless Dialog w/progress bar????????? 
Author Message
 Modeless Dialog w/progress bar?????????

I have an aplication that collects data over a four hour period.  I need a
progress bar in a modeless dialogbox or at the bottom of the client area.  I
looked at the example for modeless but it is a dialog based app.  Mine is a
scrollview .  I don't know where to get the parent pointer.

TNX
dave



Sat, 29 Dec 2001 03:00:00 GMT  
 Modeless Dialog w/progress bar?????????
Override your scroll view's OnInitialUpdate() and assign

(CWnd *) this

to a member variable.

Then use CWnd::CreateWindow( "msctls_progress32", ....) passing your member
variable as the parent.

Note that "msctls_progress32" is the Win32 class name of the progress bar, I
checked it with Spy++.

--
Scott Tunstall
MFC & COM consultant
FirstTel systems Ltd
Glasgow
Scotland

Tel: 0141 207 3102

Quote:

>I have an aplication that collects data over a four hour period.  I need a
>progress bar in a modeless dialogbox or at the bottom of the client area.
I
>looked at the example for modeless but it is a dialog based app.  Mine is a
>scrollview .  I don't know where to get the parent pointer.

>TNX
>dave



Sat, 29 Dec 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Modeless Dialog with Progress Bar

2. Showing a modeless progress dialog while opening document with MFC

3. Progress bar not showing visual progress

4. Showing file loading/saving progress in progress bar?

5. ATL dialog & progress bar

6. update progress bar in a popup dialog

7. Progress Bar only shows on dialog

8. Displaying progress bar right after dialog is on screen

9. Progress bar in dialog, right after display

10. Need feedback from thread to dialog and progress bar

11. progress bar on a status bar

12. progress bar on a status bar

 

 
Powered by phpBB® Forum Software