Configure Windows XP Embedded to automatically dismiss unexpected MessageBoxes

Posted by Pokot0 on Server Fault See other posts from Server Fault or by Pokot0
Published on 2010-03-10T16:34:53Z Indexed on 2010/03/30 10:33 UTC
Read the original article Hit count: 326

Filed under:

I have the need to configure a Windows XP Embedded system in order to dismiss modal MessageBoxes with a default reply.

I am aware of the EnableDefaultReply feature but I need to be more selective on which MessageBoxes to dismiss or select the default reply on some criteria (example: name of the window).

My biggest problem right now is that:

  • If do not enable the EnableDefaultReply feature: some background services pop up dialogboxes which are never dismissed and block the application
  • If I enable the EnableDefaultReply feature: I am no longer able to logon to the system if another user is logged in (a MessageBox popups asking if you want to steal the logon and the default answer is NO).

Do you have any experience you can share with this problem?

© Server Fault or respective owner

Related posts about windows-xp