I am trying to use ctypes and MessageBoxA in a Python script to generate a message box. That seems to be working fine most of the time. However, it seems that if I go away for a while no message box is displayed when I think it should have been. Is there some kind of timeout somewhere that will automatically dismiss it without action from the user? If so, is there a way to change that timeout? If not, what might cause the message box to disappear?