Dialog Properties: Styles Tab (Windows CE 5.0)

Send Feedback

Use this tab to configure settings for dialog box styles in the dialog editor.

  • Style
    One of the following:

    • Overlapped: Creates an overlapped window. An overlapped window is always a top-level window and should have a caption and a border.
    • Popup (Default): Creates a pop-up window.
    • Child: Creates a child window.
  • Border
    One of the following:

    • None: No border. A title bar is not available.
    • Thin: A thin border.
    • Dialog Frame (Default): A dialog box border.
  • Title Bar
    Creates a title bar for the dialog box.

    This check box is cleared if the dialog box has no border.

    Type: Bool.

    Default: True.

  • System menu
    Creates a system menu for the dialog box.

    This check box is disabled if there is no title bar.

    Type: Bool.

    Default: True.

  • Clip siblings
    Clips child windows relative to each other; that is, when a particular child window is repainted, this style clips all other top-level child windows out of the region of the child window to be updated.

    If Clip siblings is False and if child windows overlap, it is possible, when drawing in the client area of a child window, to draw in the client area of a neighboring child window.

    Clip siblings is used with child windows only.

    Type: Bool.

    Default: False.

  • Clip children
    Excludes the area occupied by child windows when drawing within the parent window.

    This option is used when creating the parent window.

    Do not use this style if your dialog box contains a group box.

    Type: Bool.

    Default: False.

  • Horizontal scroll
    Creates a horizontal scroll bar for the dialog box.

    Type: Bool.

    Default: False.

  • Vertical scroll
    Creates a vertical scroll bar for the dialog box.

    If you create horizontal or vertical scroll bars for a dialog box that uses the default border style (the Dialog Frame style), the scroll bars are drawn overlapping the borders of the dialog box rather than within them, and the contents of the dialog box are clipped improperly.

    This is standard Windows behavior.

    To avoid this behavior, use a different border style when creating a scrollable dialog box.

    Type: Bool.

    Default: False.

See Also

Dialog Editor | Dialog Properties: More Styles Tab

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.