aboutsummaryrefslogtreecommitdiff
path: root/src/xsd/thmutil/Window.xsd
blob: f47f9e6ddee67af4ccbe435e324f6944de548e94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<element name="Window">
        <annotation>
            <documentation>Defines the overall look of the main window.</documentation>
        </annotation>
        <complexType>
            <choice minOccurs="0" maxOccurs="unbounded">
                <element ref="Page" />
                <group ref="ControlElements" minOccurs="0" maxOccurs="unbounded" />
            </choice>
            <attribute name="AutoResize" type="YesNoType">
                <annotation>
                    <documentation>Specifies whether the ThmUtil default window proc should process WM_SIZE and WM_SIZING events.</documentation>
                </annotation>
            </attribute>
            <attribute name="Caption" type="xs:string">
                <annotation>
                    <documentation>
                        Caption for the window.
                        This is required if not using the StringId attribute.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="FontId" type="xs:string" use="required">
                <annotation>
                    <documentation>Identifier to the Font element that serves as the default font for the window.</documentation>
                </annotation>
            </attribute>
            <attribute name="Height" type="xs:positiveInteger" use="required">
                <annotation>
                    <documentation>Height of the window's client area.</documentation>
                </annotation>
            </attribute>
            <attribute name="HexStyle" type="xs:hexBinary">
                <annotation>
                    <documentation>
                        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.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="IconFile" type="xs:string">
                <annotation>
                    <documentation>Relative path to an icon file for the window. Mutually exclusive with IconResource attribute.</documentation>
                </annotation>
            </attribute>
            <attribute name="IconResource" type="xs:string">
                <annotation>
                    <documentation>
                        Identifier that references an icon resource in the module for the icon for the window.
                        Mutually exclusive with IconFile attribute.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="MinimumHeight" type="xs:positiveInteger">
                <annotation>
                    <documentation>Minimum height of the window. Can only be specified if AutoResize is enabled.</documentation>
                </annotation>
            </attribute>
            <attribute name="MinimumWidth" type="xs:positiveInteger">
                <annotation>
                    <documentation>Minimum width of the window. Can only be specified if AutoResize is enabled.</documentation>
                </annotation>
            </attribute>
            <attribute name="SourceX" type="xs:nonNegativeInteger">
                <annotation>
                    <documentation>
                        X offset of the window background in the Theme/@ImageFile or Theme/@ImageResource.
                        Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="SourceY" type="xs:nonNegativeInteger">
                <annotation>
                    <documentation>
                        Y offset of the window background in the Theme/@ImageFile or Theme/@ImageResource.
                        Can only be specified with Theme/@ImageFile or Theme/@ImageResource.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="StringId" type="xs:nonNegativeInteger">
                <annotation>
                    <documentation>
                        Identifier that references a string resource in the module to define the window caption.
                        Mutually exclusive with the Caption attribute.
                    </documentation>
                </annotation>
            </attribute>
            <attribute name="Width" type="xs:positiveInteger" use="required">
                <annotation>
                    <documentation>Width of the window's client area.</documentation>
                </annotation>
            </attribute>
        </complexType>
    </element>