Enable default reply only for selected classes of messages

  • Thread starter Thread starter Mark K Vallevand
  • Start date Start date
M

Mark K Vallevand

Is there a way to use the Enable Default Reply only for selected classes of
messages?

You can select the LogSeverity and choose EMI_SEVERITY_ERROR, but I don't
see any way to select the message type that you want to enable default
reply.

As far as I can see, all messagebox functions will be intercepted with
default reply, or no messagebox functions will be intercepted at all.
Nothing in between. I'd only like the ERROR messagebox to automatically
reply with the default.

Regards.
Mark K Vallevand
 
There is some info on the msdn how to write a win service which handles with
msgboxes.
there you can react in different ways to messages boxes.

with the default reply this is not possible.

best regards,
mario
 
Yes, I've seen this about writing a messagebox interception service. We
might do this in the future.

A colleage pointed out http://support.microsoft.com/?id=128642 which is
titled "How To Change Hard Error Popup Handling in Windows NT" and this
seems to work for us. I also found the same article referenced in this
newsgroup, so some people are already aware of it.
 
I just saw your previous message.

We are using HKLM\System\CurrentControl\Set\Windows\ErrorMode = 2, and I
think it is working.

Your MSDN article says ControlSet001 instead of CurrentControlSet. Does it
matter? I'm guessing that unless I have a ControlSet002, it will be OK.

This article addresses all the popup questions I've been pondering.

I should start reading MSDN articles.
 
Hi Mark,

Actually during the TD build time there is only ControlSet001 and
CurrentControlSet defaults to ControlSet001.
You can check this by opening registry in offline mode.
During the FBA XPe creates ControlSet002, so basically you can use either
ControlSet001 or CurrentControlSet depending on your visual taste (what look
nicer to you)

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Back
Top