Share via


Customizing Dialog Boxes and Message Boxes (Windows Embedded CE 6.0)

1/6/2010

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 Embedded 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 Embedded 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

Concepts

Customizing Dialog Boxes and Message Boxes for Headless Systems
Positioning Message Boxes
Reducing the Size of Message Boxes

Other Resources

GWES OS Design Development
Graphics, Windowing and Events (GWES)