Silverlight for Windows Embedded Extended Window Style Constants (Windows Embedded CE 6.0)

1/6/2010

You can use extended window style constants in the XRWindowCreateParams.ExStyle member to configure the host window.

The following table lists the possible values.

  • WS_EX_ACCEPTFILES
    Specifies that the window accepts drag-and-drop files.
  • WS_EX_CAPTIONOKBTN
    Adds an OK button to the caption bar.
  • WS_EX_CLIENTEDGE
    Specifies a border with a sunken edge.
  • WS_EX_CONTEXTMENU
    Adds a Help button in the caption bar.
  • WS_EX_DLGMODALFRAME
    Specifies a double border.
  • WS_EX_INK
    Indicates that the window does not generate a sound when the user clicks on it.
  • WS_EX_LAYOUTRTL
    Creates a window where the text and graphics are laid out from right to left. The horizontal values of pixel addresses increase from right to left. Do not use with WS_RTLREADING. Combining WS_EX_RTLREADING with WS_EX_LAYOUTRTL creates a window with right-to-left layout but left-to-right reading order.
  • WS_EX_LTRREADING
    The window text reads from left to right. This is the default.
  • WS_EX_NOACTIVATE
    Creates a window that cannot become the active window. If a child window has this style, tapping it does not cause its top-level parent to receive the focus. A window that has this style receives stylus events, but neither it nor its child windows can receive the focus. Supported in Windows CE 2.0 and later versions.
  • WS_EX_NOANIMATION
    Creates a window that does not show minimize and restore animations and does not have a button on the taskbar. Supported in Windows CE 2.0 and later versions.
  • WS_EX_NODRAG
    Creates a window that the user cannot drag with a mouse or stylus.
  • WS_EX_NOINHERITLAYOUT
    Creates a window that does not pass its window layout to its child windows.
  • WS_EX_OVERLAPPEDWINDOW
    Combines the WS_EX_CLIENTEDGE and WS_EX_WINDOWEDGE styles.
  • WS_EX_PALETTEWINDOW
    Combines the WS_EX_WINDOWEDGE, WS_EX_TOOLWINDOW, and WS_EX_TOPMOST styles.
  • WS_EX_RTLREADING
    If the shell language supports reading-order alignment, the OS displays the window text using right-to-left reading-order properties. For other shell languages, the OS ignores this style. Do not use with WS_EX_LAYOUTRTL. Combining WS_EX_RTLREADING with WS_EX_LAYOUTRTL creates a window with right-to-left layout but left-to-right reading order.
  • WS_EX_STATICEDGE
    Creates a window with a three-dimensional border style that signifies that it does not accept user input.
  • WS_EX_TOOLWINDOW
    Creates a window that you can use as a floating toolbar. A tool window does not appear in the taskbar or in the dialog that appears when the user presses ALT+TAB. If a tool window has a system menu, the program icon does not appear on the title bar.
  • WS_EX_TOPMOST
    Creates a window that is above all non-topmost windows and stays above them even when the window is deactivated. To add or remove this style, use the SetWindowPos method.
  • WS_EX_WINDOWEDGE
    Creates a window that has a border with a raised edge.

Requirements

Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Constants
XRWindowCreateParams

Other Resources

CreateWindowEx