Window element (Thmutil extension)
Defines the overall look of the main window.
Attributes
AutoResize
yesnoSpecifies whether the ThmUtil default window proc should process WM_SIZE and WM_SIZING events.
Caption
stringCaption for the window. This is required if not using the StringId attribute.
FontId
string requiredIdentifier to the Font element that serves as the default font for the window.
Height
xs:positiveInteger requiredHeight of the window’s client area.
HexStyle
hexHexadecimal 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
stringRelative path to an icon file for the window. Mutually exclusive with IconResource attribute.
IconResource
stringIdentifier that references an icon resource in the module for the icon for the window. Mutually exclusive with IconFile attribute.
MinimumHeight
xs:positiveIntegerMinimum height of the window. Can only be specified if AutoResize is enabled.
MinimumWidth
xs:positiveIntegerMinimum width of the window. Can only be specified if AutoResize is enabled.
SourceX
non-negative integerX 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 integerY 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 integerIdentifier that references a string resource in the module to define the window caption. Mutually exclusive with the Caption attribute.
Width
xs:positiveInteger requiredWidth of the window’s client area.