Share via


Customizing Dialog Boxes and Message Boxes (Windows CE 5.0)

Send Feedback

A dialog box is a temporary window that contains controls. It is used to display status information and to prompt the user for input. Windows CE supports two types of dialog boxes: modal and modeless. A modal dialog box requires the user to supply information or dismiss the dialog box before enabling the application to continue. A modeless dialog box enables the user to supply information and return to a previous task without closing the dialog box.

A message box is a modal dialog box that displays a message and prompts for user input. A message box typically contains a text message and one or more predefined buttons. The message box UI component, Msgbox, controls the appearance and behavior of message boxes. Windows CE allows you to customize the size and location of message boxes in your OS design by specifying new values for the associated registry keys.

To include message boxes and dialog boxes with a complete UI in your OS design

  1. Ensure that the Gwe module includes the following UI components:

    • Dlgmgr
    • Dlgmnem
    • Msgbox
    • Msgbox28
  2. Ensure that your Cesysgen.bat file includes the Messagedialogboxthunk component, which is part of the Coredll module.

    The following example shows the line that the Cesysgen.bat file should contain to include the Messagedialogboxthunk component.

    set COREDLL_COMPONENTS=%COREDLL_COMPONENTS% messagedialogboxthunk
    

For more information, see Creating Dialog Boxes and Message Boxes.

See Also

Customizing Dialog Boxes and Message Boxes for Headless Systems | Positioning Message Boxes | Reducing the Size of Message Boxes | Graphics, Windowing and Events

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.