Link to home
Start Free TrialLog in
Avatar of bryceburrows
bryceburrows

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dspector
dspector

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.