Message Box Default Reply
The new Message Box Default Reply component provides an easy way to intercept any MessageBox calls and provide a default reply.
There are no services associated with this component.
No other components interact with this component.
The following table shows the configurable settings for this component.
|Disable messageBox Popup||Selected||Checking this disables the display of all the Popups generated by the MessageBox Function. This is selected as the default.|
|Severity log level||Log all events||Choose the severity of MessageBox messages to be logged. Selections range from logging all messages to logging only errors. Logging is disabled when "Disable MessageBox Popup" is unchecked.|
|Log message information to event log||Selected||Selecting this logs the MessageBox Information to the Event Log.|
The default setting of the Message Box Default Reply components Disable MessageBox Pop-up property can cause certain features that activate a pop-up message box, such as unchecking the 'Hide protected operating system files (Recommended)' in Explorer, to fail. To get around this issue, the default setting of "Disable MessageBox Pop-up" should be unchecked at design time or the user should set the following registry key value to '0' at run time:
HKLM\System\CurrentControlSet\Control\Error Message Instrument : EnableDefaultReply = 0
© 2006 Microsoft Corporation. All rights reserved.