View Full Version : MessageBox when server unavailable - precache images?

6 Aug 2007, 9:42 AM
I want to use MessageBox to notify users if and when the server becomes unavailable (can happen if the application administrator takes it out of service). The problem is that when the server is taken out of service, the images for the dialog are not available, so the dialog opens with transparent background so the text and buttons are illegible. Is there an easy way to pre-cache the images for the MessageBox so this doesn't happen (short of popping up an informative message box before the app is taken down)?


6 Aug 2007, 2:17 PM
try to do a dialog.show and dialog.hide right after it when you initialize the dialog object.