<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://hotline.ubersoft.org/Sputnik/wiki/skins/common/feed.css?301"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_GUICreateContextMenu</id>
		<title>Core Function GUICreateContextMenu - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?action=history&amp;feed=atom&amp;title=Core_Function_GUICreateContextMenu"/>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;action=history"/>
		<updated>2026-04-07T10:24:58Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.17.0</generator>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=4856&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=4856&amp;oldid=prev"/>
				<updated>2015-06-14T12:37:41Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:37, 14 June 2015&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=4855&amp;oldid=prev</id>
		<title>UberFoX: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=4855&amp;oldid=prev"/>
				<updated>2014-08-11T21:41:06Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:41, 11 August 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=3673&amp;oldid=prev</id>
		<title>UberFoX at 18:14, 10 October 2013</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=3673&amp;oldid=prev"/>
				<updated>2013-10-10T18:14:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:14, 10 October 2013&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Description ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Description ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;minus;&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Create a Context Menu&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Create a Context Menu &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;which is used when right clicking the object&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Parameters ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;=== Parameters ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	<entry>
		<id>http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=3624&amp;oldid=prev</id>
		<title>UberFoX: Created page with &quot;&lt;pre&gt; GUICreate( &quot;ContextMenu&quot;, &lt;gui object&gt; ) &lt;/pre&gt;  === Description ===  Create a Context Menu  === Parameters ===  ==== gui object ====  The GUI object to place the Menu on. ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://hotline.ubersoft.org/Sputnik/wiki/index.php?title=Core_Function_GUICreateContextMenu&amp;diff=3624&amp;oldid=prev"/>
				<updated>2013-10-04T14:21:56Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; GUICreate( &amp;quot;ContextMenu&amp;quot;, &amp;lt;gui object&amp;gt; ) &amp;lt;/pre&amp;gt;  === Description ===  Create a Context Menu  === Parameters ===  ==== gui object ====  The GUI object to place the Menu on. ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
GUICreate( &amp;quot;ContextMenu&amp;quot;, &amp;lt;gui object&amp;gt; )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
&lt;br /&gt;
Create a Context Menu&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&lt;br /&gt;
==== gui object ====&lt;br /&gt;
&lt;br /&gt;
The GUI object to place the Menu on.&lt;br /&gt;
&lt;br /&gt;
=== Return Value ===&lt;br /&gt;
&lt;br /&gt;
Success: Returns the new GUI object.&lt;br /&gt;
&lt;br /&gt;
Failure: Returns 0 if error occurs.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sputnik&amp;quot;&amp;gt;&lt;br /&gt;
// Create the GUI&lt;br /&gt;
$GUI = GUICreate(&amp;quot;Window&amp;quot;, &amp;quot;Hello&amp;quot;, 200, 200);&lt;br /&gt;
// Show the GUI&lt;br /&gt;
GUILoad( $GUI );&lt;br /&gt;
// Create a button -- This button will simply display a message&lt;br /&gt;
$Button = GUICreate(&amp;quot;Button&amp;quot;, $GUI, &amp;quot;Right click on me!&amp;quot;, 8, 8);&lt;br /&gt;
$Menu = GUICreate(&amp;quot;ContextMenu&amp;quot;, $GUI);&lt;br /&gt;
$MenuA = GUICreate(&amp;quot;MenuItem&amp;quot;, $Menu, &amp;quot;Test&amp;quot;);&lt;br /&gt;
$MenuB = GUICreate(&amp;quot;MenuItem&amp;quot;, $Menu, &amp;quot;Test2&amp;quot;);&lt;br /&gt;
$MenuC = GUICreate(&amp;quot;MenuItem&amp;quot;, $Menu, &amp;quot;Test3&amp;quot;);&lt;br /&gt;
GUISetProp($Button, &amp;quot;ContextMenu&amp;quot;, $Menu);&lt;br /&gt;
// Add a link to the context menu&lt;br /&gt;
GUILink($MenuA, &amp;quot;Click&amp;quot;, 'onClickMenuItemA($me);');&lt;br /&gt;
GUILink($MenuB, &amp;quot;Click&amp;quot;, 'onClickMenuItemB($me);');&lt;br /&gt;
GUILink($MenuC, &amp;quot;Click&amp;quot;, 'onClickMenuItemC($me);');&lt;br /&gt;
// Keep the GUI running as long as long as the window is open&lt;br /&gt;
While ( GUIStatus( $GUI ) ) DoEvents( );&lt;br /&gt;
&lt;br /&gt;
Function onClickMenuItemA( $me )&lt;br /&gt;
{&lt;br /&gt;
	say &amp;quot;You clicked 'Test' menu item&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Function onClickMenuItemB( $me )&lt;br /&gt;
{&lt;br /&gt;
	say &amp;quot;You clicked 'Test2' menu item&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Function onClickMenuItemC( $me )&lt;br /&gt;
{&lt;br /&gt;
	say &amp;quot;You clicked 'Test3' menu item&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Core Function]]&lt;/div&gt;</summary>
		<author><name>UberFoX</name></author>	</entry>

	</feed>