
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