558 lines
17 KiB
XML
558 lines
17 KiB
XML
<?xml version="1.0" ?>
|
||
<?xml-stylesheet type="text/xsl" href="schema.xsl"?>
|
||
<!-- This is the Win32 namespace for RCML files -->
|
||
|
||
<Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">
|
||
|
||
|
||
<!-- Elements Nearly all of the attributes are LOCAL to the element -->
|
||
|
||
<ElementType name="!WIN32" model="closed">
|
||
<description>
|
||
This is the Win32 namespace for RCML files.
|
||
</description>
|
||
</ElementType>
|
||
|
||
|
||
<!-- STYLE include STYLEEX flags too -->
|
||
<ElementType name="STYLE" model="closed">
|
||
<description>
|
||
The Win32 STYLE bits, for windows, WS_*
|
||
</description>
|
||
|
||
<attribute type="POPUP" required="no"/>
|
||
<attribute type="CHILD" required="no"/>
|
||
<attribute type="MINIMIZE" required="no"/>
|
||
<attribute type="MAXIMIZE" required="no"/>
|
||
<attribute type="VISIBLE" required="no"/>
|
||
|
||
<attribute type="DISABLED" required="no"/>
|
||
<attribute type="CLIPSIBLINGS" required="no"/>
|
||
<attribute type="CLIPCHILDREN" required="no"/>
|
||
|
||
<attribute type="BORDER" required="no"/>
|
||
<attribute type="DLGFRAME" required="no"/>
|
||
<attribute type="VSCROLL" required="no"/>
|
||
<attribute type="HSCROLL" required="no"/>
|
||
|
||
<attribute type="SYSMENU" required="no"/>
|
||
<attribute type="THICKFRAME" required="no"/>
|
||
<attribute type="GROUP" required="no"/>
|
||
<attribute type="TABSTOP" required="no"/>
|
||
|
||
|
||
<AttributeType name="POPUP" required="no" >
|
||
<description>WS_POPUP<P/>
|
||
Creates a pop-up window. Cannot be used with the WS_CHILD style
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="CHILD" required="no" >
|
||
<description>
|
||
WS_CHILD<P/>
|
||
Creates a child window. Cannot be used with the WS_POPUP style
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="MINIMIZE" required="no" >
|
||
<description>
|
||
WS_MINIMIZE<P/>
|
||
Creates a window that is initially minimized. For use with the WS_OVERLAPPED style only.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="MAXIMIZE" required="no" >
|
||
<description>
|
||
WS_MAXIMIZE<P/>
|
||
Creates a window that has a Maximize button.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="VISIBLE" required="no" >
|
||
<description>
|
||
WS_VISIBLE<P/>
|
||
Creates a window that is initially visible.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="DISABLED" required="no" >
|
||
<description>
|
||
WS_DISABLED<P/>
|
||
Creates a window that is initially disabled.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="CLIPSIBLINGS" required="no" >
|
||
<description>
|
||
WS_CLIPSIBLINGS<P/>
|
||
Clips child windows relative to each other; that is, when a particular child window receives a paint message, the WS_CLIPSIBLINGS style clips all other overlapped child windows out of the region of the child window to be updated. (If WS_CLIPSIBLINGS is not given and child windows overlap, when you draw within the client area of a child window, it is possible to draw within the client area of a neighboring child window.) For use with the WS_CHILD style only.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="CLIPCHILDREN" required="no" >
|
||
<description>
|
||
WS_CLIPCHILDREN<P/>
|
||
Excludes the area occupied by child windows when you draw within the parent window. Used when you create the parent window.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="BORDER" required="no" >
|
||
<description>
|
||
WS_BORDER<P/>
|
||
Creates a window that has a border.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="DLGFRAME" required="no" >
|
||
<description>
|
||
WS_DLGFRAME<P/>
|
||
Creates a window with a double border but no title.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="VSCROLL" required="no" >
|
||
<description>
|
||
WS_VSCROLL<P/>
|
||
Creates a window that has a vertical scroll bar.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="HSCROLL" required="no" >
|
||
<description>
|
||
WS_HSCROLL<P/>
|
||
Creates a window that has a horizontal scroll bar.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="SYSMENU" required="no" >
|
||
<description>
|
||
WS_SYSMENU<P/>
|
||
Creates a window that has a Control-menu box in its title bar. Used only for windows with title bars.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="THICKFRAME" required="no" >
|
||
<description>
|
||
WS_THICKFRAME<P/>
|
||
Creates a window with a thick frame that can be used to size the window.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="GROUP" required="no" >
|
||
<description>
|
||
WS_GROUP<P/>
|
||
Specifies the first control of a group of controls in which the user can move from one control to the next with the arrow keys. All controls defined with the WS_GROUP style FALSE after the first control belong to the same group. The next control with the WS_GROUP style starts the next group (that is, one group ends where the next begins).
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="TABSTOP" required="no" >
|
||
<description>
|
||
WS_TABSTOP<P/>
|
||
Specifies one of any number of controls through which the user can move by using the TAB key. The TAB key moves the user to the next control specified by the WS_TABSTOP style.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
|
||
<!-- WS_EX* -->
|
||
|
||
<attribute type="DLGMODALFRAME" />
|
||
<attribute type="NOPARENTNOTIFY" />
|
||
<attribute type="TOPMOST" />
|
||
|
||
<attribute type="ACCEPTFILES" />
|
||
<attribute type="TRANSPARENT" />
|
||
<attribute type="MDICHILD" />
|
||
<attribute type="TOOLWINDOW" />
|
||
|
||
<attribute type="WINDOWEDGE" />
|
||
<attribute type="CLIENTEDGE" />
|
||
<attribute type="CONTEXTHELP" />
|
||
|
||
<attribute type="RIGHT" />
|
||
<attribute type="RTLREADING" />
|
||
<attribute type="LEFTSCROLLBAR" />
|
||
|
||
<attribute type="CONTROLPARENT" />
|
||
<attribute type="STATICEDGE" />
|
||
<attribute type="APPWINDOW" />
|
||
|
||
|
||
<AttributeType name="DLGMODALFRAME" required="no" >
|
||
<description>
|
||
WS_EX_DLGMODALFRAME<P/>
|
||
Designates a window with a double border that may (optionally) be created with a title bar when you specify the WS_CAPTION style flag in the dwStyle parameter.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="NOPARENTNOTIFY" required="no" >
|
||
<description>
|
||
WS_EX_NOPARENTNOTIFY<P/>
|
||
Specifies that a child window created with this style will not send the WM_PARENTNOTIFY message to its parent window when the child window is created or destroyed.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="TOPMOST" required="no" >
|
||
<description>
|
||
WS_EX_TOPMOST<P/>
|
||
Specifies that a window created with this style should be placed above all nontopmost windows and stay above them even when the window is deactivated. An application can use the SetWindowPos member function to add or remove this attribute.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="ACCEPTFILES" required="no" >
|
||
<description>
|
||
WS_EX_ACCEPTFILES<P/>
|
||
Specifies that a window created with this style accepts drag-and-drop files.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="TRANSPARENT" required="no" >
|
||
<description>
|
||
WS_EX_TRANSPARENT<P/>
|
||
Specifies that a window created with this style is to be transparent. That is, any windows that are beneath the window are not obscured by the window. A window created with this style receives WM_PAINT messages only after all sibling windows beneath it have been updated.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="MDICHILD" required="no" >
|
||
<description>
|
||
WS_EX_MDICHILD<P/>
|
||
Creates an MDI child window.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="TOOLWINDOW" required="no" >
|
||
<description>
|
||
WS_EX_TOOLWINDOW<P/>
|
||
Creates a tool window, which is a window intended to be used as a floating toolbar. A tool window has a title bar that is shorter than a normal title bar, and the window title is drawn using a smaller font. A tool window does not appear in the task bar or in the window that appears when the user presses ALT+TAB.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="WINDOWEDGE" required="no" >
|
||
<description>
|
||
WS_EX_WINDOWEDGE<P/>
|
||
Specifies that a window has a border with a raised edge.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="CLIENTEDGE" required="no" >
|
||
<description>
|
||
WS_EX_CLIENTEDGE<P/>
|
||
Specifies that a window has a 3D look <20> that is, a border with a sunken edge.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="CONTEXTHELP" required="no" >
|
||
<description>
|
||
WS_EX_CONTEXTHELP<P/>
|
||
Includes a question mark in the title bar of the window. When the user clicks the question mark, the cursor changes to a question mark with a pointer. If the user then clicks a child window, the child receives a WM_HELP message.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="RIGHT" required="no" >
|
||
<description>
|
||
WS_EX_RIGHT<P/>
|
||
Gives a window generic right-aligned properties. This depends on the window class.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="RTLREADING" required="no" >
|
||
<description>
|
||
WS_EX_RTLREADING<P/>
|
||
Displays the window text using right-to-left reading order properties.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="LEFTSCROLLBAR" required="no" >
|
||
<description>
|
||
WS_EX_LEFTSCROLLBAR<P/>
|
||
Places a vertical scroll bar to the left of the client area.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="CONTROLPARENT" required="no" >
|
||
<description>
|
||
WS_EX_CONTROLPARENT<P/>
|
||
Allows the user to navigate among the child windows of the window by using the TAB key.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="STATICEDGE" required="no" >
|
||
<description>
|
||
WS_EX_STATICEDGE<P/>
|
||
Creates a window with a three-dimensional border style intended to be used for items that do not accept user input.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="APPWINDOW" required="no" >
|
||
<description>
|
||
WS_EX_APPWINDOW<P/>
|
||
|
||
</description>
|
||
</AttributeType>
|
||
|
||
</ElementType>
|
||
|
||
|
||
|
||
|
||
|
||
<!-- !BUTTON! -->
|
||
<ElementType name="BUTTON" content="eltOnly" model="closed" order="many">
|
||
<description>
|
||
BUTTON attributes specific to the Win32 rendering of RCML.
|
||
</description>
|
||
|
||
<attribute type="LEFTTEXT"/>
|
||
<attribute type="FLAT"/>
|
||
<attribute type="NOTIFY"/>
|
||
<attribute type="MULTILINE"/>
|
||
<attribute type="ICON"/>
|
||
<attribute type="BITMAP"/>
|
||
<attribute type="PUSHLIKE"/>
|
||
|
||
<AttributeType name="LEFTTEXT" required="no">
|
||
<description>
|
||
BS_LEFTTEXT<P/>
|
||
When combined with a radio-button or check-box style, the text appears on the left side of the radio button or check box.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="FLAT" required="no">
|
||
<description>
|
||
BS_FLAT<P/>
|
||
The button is rendered in a 'flat look' not with raised edges.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="NOTIFY" required="no">
|
||
<description>
|
||
BS_NOTIFY<P/>
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="MULTILINE" required="no">
|
||
<description>
|
||
BS_MULTILINE<P/>
|
||
Makes the button use more than one line to render the text.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="ICON" required="no">
|
||
<description>
|
||
BS_ICON<P/>
|
||
The ID of the button now refers to an icon resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="BITMAP" required="no">
|
||
<description>
|
||
BS_BITMAP<P/>
|
||
The ID of the button now refers to an bitmap resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="PUSHLIKE" required="no">
|
||
<description>
|
||
BS_PUSHLIKE<P/>
|
||
I forget what this one does.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
</ElementType>
|
||
|
||
|
||
<!-- !CHECKBOX! -->
|
||
<ElementType name="CHECKBOX" content="eltOnly" model="closed" order="many">
|
||
<description>
|
||
CHECKBOX attributes specific to the Win32 rendering of RCML.
|
||
</description>
|
||
|
||
<attribute type="LEFTTEXT"/>
|
||
<attribute type="FLAT"/>
|
||
<attribute type="NOTIFY"/>
|
||
<attribute type="MULTILINE"/>
|
||
<attribute type="ICON"/>
|
||
<attribute type="BITMAP"/>
|
||
<attribute type="PUSHLIKE"/>
|
||
|
||
<AttributeType name="LEFTTEXT" required="no">
|
||
<description>
|
||
BS_LEFTTEXT<P/>
|
||
When combined with a radio-button or check-box style, the text appears on the left side of the radio button or check box.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="FLAT" required="no">
|
||
<description>
|
||
BS_FLAT<P/>
|
||
The button is rendered in a 'flat look' not with raised edges.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="NOTIFY" required="no">
|
||
<description>
|
||
BS_NOTIFY<P/>
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="MULTILINE" required="no">
|
||
<description>
|
||
BS_MULTILINE<P/>
|
||
Makes the button use more than one line to render the text.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="ICON" required="no">
|
||
<description>
|
||
BS_ICON<P/>
|
||
The ID of the button now refers to an icon resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="BITMAP" required="no">
|
||
<description>
|
||
BS_BITMAP<P/>
|
||
The ID of the button now refers to an bitmap resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="PUSHLIKE" required="no">
|
||
<description>
|
||
BS_PUSHLIKE<P/>
|
||
I forget what this one does.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
</ElementType>
|
||
|
||
<!-- !GROUPBOX! -->
|
||
<ElementType name="GROUPBOX" content="eltOnly" model="closed" order="many">
|
||
<description>
|
||
GROUPBOX attributes specific to the Win32 rendering of RCML.
|
||
Most of these attributes really don't make any sense on groupbox.
|
||
</description>
|
||
|
||
<attribute type="LEFTTEXT"/>
|
||
<attribute type="FLAT"/>
|
||
<attribute type="NOTIFY"/>
|
||
<attribute type="MULTILINE"/>
|
||
<attribute type="ICON"/>
|
||
<attribute type="BITMAP"/>
|
||
<attribute type="PUSHLIKE"/>
|
||
|
||
<AttributeType name="LEFTTEXT" required="no">
|
||
<description>
|
||
BS_LEFTTEXT<P/>
|
||
When combined with a radio-button or check-box style, the text appears on the left side of the radio button or check box.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="FLAT" required="no">
|
||
<description>
|
||
BS_FLAT<P/>
|
||
The button is rendered in a 'flat look' not with raised edges.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="NOTIFY" required="no">
|
||
<description>
|
||
BS_NOTIFY<P/>
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="MULTILINE" required="no">
|
||
<description>
|
||
BS_MULTILINE<P/>
|
||
Makes the button use more than one line to render the text.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="ICON" required="no">
|
||
<description>
|
||
BS_ICON<P/>
|
||
The ID of the button now refers to an icon resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="BITMAP" required="no">
|
||
<description>
|
||
BS_BITMAP<P/>
|
||
The ID of the button now refers to an bitmap resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="PUSHLIKE" required="no">
|
||
<description>
|
||
BS_PUSHLIKE<P/>
|
||
Really don't know why groupbox would want this.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
</ElementType>
|
||
|
||
<!-- !RADIOBUTTON! -->
|
||
<ElementType name="RADIOBUTTON" content="eltOnly" model="closed" order="many">
|
||
<description>
|
||
BUTTON attributes specific to the Win32 rendering of RCML.
|
||
</description>
|
||
|
||
<attribute type="LEFTTEXT"/>
|
||
<attribute type="FLAT"/>
|
||
<attribute type="NOTIFY"/>
|
||
<attribute type="MULTILINE"/>
|
||
<attribute type="ICON"/>
|
||
<attribute type="BITMAP"/>
|
||
<attribute type="PUSHLIKE"/>
|
||
|
||
<AttributeType name="LEFTTEXT" required="no">
|
||
<description>
|
||
BS_LEFTTEXT<P/>
|
||
When combined with a radio-button or check-box style, the text appears on the left side of the radio button or check box.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="FLAT" required="no">
|
||
<description>
|
||
BS_FLAT<P/>
|
||
The button is rendered in a 'flat look' not with raised edges.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="NOTIFY" required="no">
|
||
<description>
|
||
BS_NOTIFY<P/>
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="MULTILINE" required="no">
|
||
<description>
|
||
BS_MULTILINE<P/>
|
||
Makes the button use more than one line to render the text.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="ICON" required="no">
|
||
<description>
|
||
BS_ICON<P/>
|
||
The ID of the button now refers to an icon resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="BITMAP" required="no">
|
||
<description>
|
||
BS_BITMAP<P/>
|
||
The ID of the button now refers to an bitmap resource.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
<AttributeType name="PUSHLIKE" required="no">
|
||
<description>
|
||
BS_PUSHLIKE<P/>
|
||
I forget what this one does.
|
||
</description>
|
||
</AttributeType>
|
||
|
||
</ElementType>
|
||
|
||
|
||
</Schema>
|