<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FMacro_Library%2FCREATEMENU</id>
	<title>Programmer Guide/Macro Library/CREATEMENU - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FMacro_Library%2FCREATEMENU"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/CREATEMENU&amp;action=history"/>
	<updated>2026-05-06T10:11:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/CREATEMENU&amp;diff=10274&amp;oldid=prev</id>
		<title>Jw: /* CREATEMENU */</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/CREATEMENU&amp;diff=10274&amp;oldid=prev"/>
		<updated>2019-01-11T09:56:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;CREATEMENU&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:56, 11 January 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;&amp;lt;var&amp;gt;icon&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;&amp;lt;var&amp;gt;icon&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:The index of an icon to associate with the window. See General Descriptions &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Icons &lt;/del&gt;for a list of possible icons, or specify an asterisk for the default icon.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;:The index of an icon to associate with the window. See &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the [[Programmer_Guide/General_Descriptions/Bitmaps_for_Dialog_Controls,_Icons,_Toolbar_Buttons#Icons|&lt;/ins&gt;General Descriptions&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]] icons &lt;/ins&gt;for a list of possible icons, or specify an asterisk for the default icon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;&amp;lt;var&amp;gt;title&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;&amp;lt;var&amp;gt;title&amp;lt;/var&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jw</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/CREATEMENU&amp;diff=912&amp;oldid=prev</id>
		<title>Admin: 1 revision:&amp;#32;Initial import</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/CREATEMENU&amp;diff=912&amp;oldid=prev"/>
		<updated>2010-11-18T16:31:25Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Initial import&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:31, 18 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/CREATEMENU&amp;diff=911&amp;oldid=prev</id>
		<title>193.171.195.8: initial import</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/CREATEMENU&amp;diff=911&amp;oldid=prev"/>
		<updated>2010-05-17T13:05:27Z</updated>

		<summary type="html">&lt;p&gt;initial import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:{{SUBPAGENAME}}}}&lt;br /&gt;
==CREATEMENU==&lt;br /&gt;
&lt;br /&gt;
Create a new dialog-window or attach a dialog to an existing display.&lt;br /&gt;
&lt;br /&gt;
With &amp;lt;var&amp;gt;type&amp;lt;/var&amp;gt; &amp;lt;code&amp;gt;DIALOG&amp;lt;/code&amp;gt; a dialog-box is created, which can not be resized. For type &amp;lt;code&amp;gt;FRAME&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;PARENT&amp;lt;/code&amp;gt; a frame-window is created, which can be resized. If type is &amp;lt;code&amp;gt;PARENT&amp;lt;/code&amp;gt; the window-item name is assigned to the variable &amp;lt;code&amp;gt;PARENT&amp;lt;/code&amp;gt;, which identifies the parent-window of an application. If the argument &amp;lt;var&amp;gt;type&amp;lt;/var&amp;gt; is the name of a display-item, a dialog-item is created and attached to the display. For the new dialog the basic settings of the dialog font and the margins are applied.&lt;br /&gt;
&lt;br /&gt;
=====Usage:=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;CREATEMENU &amp;lt;var&amp;gt;type&amp;lt;/var&amp;gt; [ &amp;lt;var&amp;gt;icon&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;title&amp;lt;/var&amp;gt; ] [ ; [ &amp;lt;var&amp;gt;owner&amp;lt;/var&amp;gt; ] [ /Notmodal ]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Parameters:=====&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;type&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The type of menu or the name of a display item. Either one of the following keywords:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;DIALOG&amp;lt;/code&amp;gt; - A dialog box which cannot be resized (the default)&lt;br /&gt;
&amp;lt;code&amp;gt;FRAME&amp;lt;/code&amp;gt; - A frame window which can be resized.&lt;br /&gt;
&amp;lt;code&amp;gt;PARENT&amp;lt;/code&amp;gt; - A frame window which can be resized where the window-item name is assigned to the shell variable &amp;lt;code&amp;gt;PARENT&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:Or the name/id of a display item.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;icon&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The index of an icon to associate with the window. See General Descriptions Icons for a list of possible icons, or specify an asterisk for the default icon.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;title&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The window caption.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;owner&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The display or dialog which owns this dialog. This means:&lt;br /&gt;
&lt;br /&gt;
:1) that the owned window is *always* above the owner in the z-order,&lt;br /&gt;
&lt;br /&gt;
:2) the owned window is destroyed with the owner by the system&lt;br /&gt;
&lt;br /&gt;
:3) the owned window is hidden when the owner is minimized&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;/N&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:If the flag /N is specified, the new dialog is modeless.&lt;br /&gt;
&lt;br /&gt;
:The default is a modal dialog.&lt;br /&gt;
&lt;br /&gt;
=====Result:=====&lt;br /&gt;
&lt;br /&gt;
The name of create menu-item (dialog) or an empty string.&lt;br /&gt;
&lt;br /&gt;
=====Examples:=====&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;DOMODALDIALOG&amp;lt;/code&amp;gt; for an example.&lt;/div&gt;</summary>
		<author><name>193.171.195.8</name></author>
	</entry>
</feed>