Поделиться через


Replacement of the Urlmon User Interface (Windows Embedded CE 6.0)

1/6/2010

The Platform Builder Resource Editors let you make simple changes to the text strings in Windows Embedded CE dialog and message boxes and to create new dialog boxes. However, there may be situations where you have to change not only the content of a system message, but the action taken in response to a message. The replaceable user interface component of Urlmon lets you write code to intercept the single Urlmon Zones message dialog box and handle it appropriately for a particular user scenario. You do this by modifying and recompiling a dynamic link library file, urlmonui.lib. The source code for the urlmonui library is located in the %_WINCEROOT%\Public\IE\Oak\Urlmonui folder.

Your custom error-handling code is implemented through IsDialogBoxHandled Callback Function (Urlmon). When a Zones Alert is signaled, Urlmon calls this function together with a handle to the parent window for the Alert. If the function returns ERROR_CALL_NOT_IMPLEMENTED, Urlmon proceeds with its own dialog box.

See Also

Reference

IsDialogBoxHandled Callback Function (Urlmon)

Concepts

URL Moniker Services Overview

Other Resources

URL Moniker Services OS Design Development