Common Dialog and Timer Events/MCI Done Event 
Author Message
 Common Dialog and Timer Events/MCI Done Event

Hello fellow VB programmers:

I have an audio application that uses the DONE event to trigger the
next play operation. The trouble is, the user might be picking a file
from an OPEN dialog box (common dialog control) at the time the DONE
event is generated. Unfortuneately, the DONE event is ignored.

I have also noticed that TIMER events from the timer object are not
generated if the dialog box is open, however, if I have a self made
dialog box open, these events work fine - even though the dialog box
is modal.

I would like to take advantage of all the functionallity built into
the common dialog without having to write my own dialog.

Does anyone know how to make these events continue firing when the
common dialog open dialog is active. Perhaps with some API setting?

Thanks for your help.

Regards,

Michael E. Floyd



Thu, 29 Mar 2001 03:00:00 GMT  
 Common Dialog and Timer Events/MCI Done Event
The answer may very well be simpler than you are making it. Try setting the
Timer.Enabled property to False first, then set CommonDialog.Action, then
set the Timer.Enabled property back to True.



Quote:
> Hello fellow VB programmers:

> I have an audio application that uses the DONE event to trigger the
> next play operation. The trouble is, the user might be picking a file
> from an OPEN dialog box (common dialog control) at the time the DONE
> event is generated. Unfortuneately, the DONE event is ignored.

> I have also noticed that TIMER events from the timer object are not
> generated if the dialog box is open, however, if I have a self made
> dialog box open, these events work fine - even though the dialog box
> is modal.

> I would like to take advantage of all the functionallity built into
> the common dialog without having to write my own dialog.

> Does anyone know how to make these events continue firing when the
> common dialog open dialog is active. Perhaps with some API setting?

> Thanks for your help.

> Regards,

> Michael E. Floyd



Thu, 29 Mar 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. timer event within a timer event

2. MCI done event

3. MCI control doesn't generate DONE Event

4. Using MCI (vb4-32): Done event and Dynamic Sizing

5. MCI Control Gets Into a Tizzy - Done Events Not Being Generated

6. Timer tick event instead of elapsed event

7. TIMER event arrives, but the last event is not finished

8. Common Dialog box in button on_click event

9. Timer interval is depending on code in timer event

10. Calling a sub from a the timer event of a timer control

11. Events, Events, alas, wherefore art thou events...

12. Events, Events, alas, wherefore art thou events...

 

 
Powered by phpBB® Forum Software