Skip to content

Window element (Thmutil extension)

Defines the overall look of the main window.

Attributes

AutoResize

yesno

Specifies whether the ThmUtil default window proc should process WM_SIZE and WM_SIZING events.

Caption

string

Caption for the window. This is required if not using the StringId attribute.

FontId

string required

Identifier to the Font element that serves as the default font for the window.

Height

xs:positiveInteger required

Height of the window’s client area.

HexStyle

hex

Hexadecimal window style. If this is not specified the default value is: WS_OVERLAPPED | WS_VISIBLE | WS_MINIMIZEBOX | WS_SYSMENU | WS_CAPTION. If SourceX and SourceY are specified, then WS_OVERLAPPED is replaced with WS_POPUP.

IconFile

string

Relative path to an icon file for the window. Mutually exclusive with IconResource attribute.

IconResource

string

Identifier that references an icon resource in the module for the icon for the window. Mutually exclusive with IconFile attribute.

MinimumHeight

xs:positiveInteger

Minimum height of the window. Can only be specified if AutoResize is enabled.

MinimumWidth

xs:positiveInteger

Minimum width of the window. Can only be specified if AutoResize is enabled.

SourceX

non-negative integer

X offset of the window background in the Theme/@ImageFile or Theme/@ImageResource. Can only be specified with Theme/@ImageFile or Theme/@ImageResource.

SourceY

non-negative integer

Y offset of the window background in the Theme/@ImageFile or Theme/@ImageResource. Can only be specified with Theme/@ImageFile or Theme/@ImageResource.

StringId

non-negative integer

Identifier that references a string resource in the module to define the window caption. Mutually exclusive with the Caption attribute.

Width

xs:positiveInteger required

Width of the window’s client area.

Children

Parents