Need help with commonon dialog not doing doevents 
Author Message
 Need help with commonon dialog not doing doevents

I use commondialog in different parts of a program, but I have events
that need to be procoessed regularly.  IIs there any way to get
commondialog to issue a doevents if the user is just waiting at the
prompt?  Is there another control that can do this ( I dont
think commondialog can..)?  Or is this a Microsoft bug?

Michael

---
Michael Benson
WWW:     http://www.*-*-*.com/ ~mbenson



Tue, 20 Jul 1999 03:00:00 GMT  
 Need help with commonon dialog not doing doevents

Quote:

> I use commondialog in different parts of a program, but I have events
> that need to be procoessed regularly.  IIs there any way to get
> commondialog to issue a doevents if the user is just waiting at the
> prompt?  Is there another control that can do this ( I dont
> think commondialog can..)?  Or is this a Microsoft bug?

> Michael

> ---
> Michael Benson
> WWW:    http://bacon.gmu.edu/~mbenson


the common dialog box is app modal window. once it waits for user response, it holds you
app from doing anthing further. this is not a bug, it is by design.

what i am going suggest is like a joke.

copy the title bar, control box, etc. into a picture box, and place it on the calling
form. when you want to show it, set it to be visible , otherwise , set it to be
invisible. this picture box looks like a dialog box (you can place a command button in
it to wait for user response and write a few lines of code to do anything.)

to your user, this is a dialog box. to you, it is NOT an app modal window.
rgds
Jeff Hong YAN



Tue, 20 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. DoEvents not doing any events

2. Help: Need dialog to select drive and directory path (not files)

3. DoEvents when doing UpdateBatch

4. Need help on CD-Rom door using DoEvents???

5. Help: VB Business Not Doing Well

6. Need help doing a Subtotal through Excel automation in vb.net

7. I need HELP doing a binary search

8. Need help on how to scroll a picture box control (if it can be done)

9. Urgent Help Needed - Common dialog error 28670 in win 95 - Help!,

10. HOWTO: a replacement for Doevents which does not yield to keystrokes

11. Cancel Button - not solvable with DoEvents

12. Cancel Button - not solvable with DoEvents

 

 
Powered by phpBB® Forum Software