S
Stephen Haley
I am stuck
I have developed an access app wich under certain circumstances will display
a msgbox using the standard msgbox function. I am now trying to implement
timers for the application as a whole so that it is automatically closed if
the user does nothing for 80mins. The problem I have is that I cannot
sucessfuly use application.quit if a msgbox has currently got the focus. Is
there anyway I can close it from within the vba timer module? I suspect this
may need an api call ie enumerate child windows etc but how do you tell that
a msgbox has currently got the focus and what the hwnd is?
thanks in advance
stephen
I have developed an access app wich under certain circumstances will display
a msgbox using the standard msgbox function. I am now trying to implement
timers for the application as a whole so that it is automatically closed if
the user does nothing for 80mins. The problem I have is that I cannot
sucessfuly use application.quit if a msgbox has currently got the focus. Is
there anyway I can close it from within the vba timer module? I suspect this
may need an api call ie enumerate child windows etc but how do you tell that
a msgbox has currently got the focus and what the hwnd is?
thanks in advance
stephen