modeless dialogbox problem

Hello
in ws_ftp there is a wee modeless dialog box which gives you feedback onthe current transfer, it has a progress bar some text and a cancel button ...and you can move it around the screen nicely...and you can minimize the main app etc..

how the hell do you get a modeless dialog to do all that? i have a modeless dialog which has the text updating workign nicely, the progress bar works nicely as well..but i just dont seem to be able to get it to work so that clickig on a button works...or letting the user drag the dialog around the screen (and it would be very useful to be able tominimize the parent dialog
while the modeless is running as well)

help?


Bryce
bryceburrowsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

chensuCommented:
Check out the following article that implements the CWaitDialog class.

http://www.microsoft.com/msj/defaultframe.asp?page=/msj/0297/wicked/wicked0297.htm
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dspectorCommented:
Your app must accept Windows messages for modeless dialog controls to work. If you are reading a set of files, for example, you must call PeekMessage periodically, either after every n bytes or after each file.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.