Getting rid of dialogs

C

Craig Graham

I have a problem with system dialogs coming up in an embedded Win2000 app.
Reasons for going for 2000 I won't go into, but I do mean 2000.

Some regular dialogs are when the wireless network card loses connectivity,
but there are other occasional dialogs which, though indicating faults, the
user can do nothing about. Since the dialogs appear in the foreground and
cannot be cancelled using the limited keypad on the device, they effectively
prevent use of the unit even though the underlying problem does not in
itself prevent the user using the unit.

What is the simplest way I can either prevent arbitrary system dialogs from
appearing, or to automatically hit the default button when they do appear?
 
G

Gordon Smith \(eMVP\)

Craig said:
I have a problem with system dialogs coming up in an embedded Win2000
app. Reasons for going for 2000 I won't go into, but I do mean 2000.

Some regular dialogs are when the wireless network card loses
connectivity, but there are other occasional dialogs which, though
indicating faults, the user can do nothing about. Since the dialogs
appear in the foreground and cannot be cancelled using the limited
keypad on the device, they effectively prevent use of the unit even
though the underlying problem does not in itself prevent the user
using the unit.

What is the simplest way I can either prevent arbitrary system
dialogs from appearing, or to automatically hit the default button
when they do appear?

Message Box Interception.

Read up on:
http://msdn.microsoft.com/library/d...-us/xpehelp/html/xesamMessageInterception.asp
to see if you can apply it to 2000.

Good luck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top