<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Menüeintrag umbennen]]></title><description><![CDATA[<p>Hi Community,</p>
<p>habe ein kleines Problem mit Menüs, dass mich ziemlich nervt. Hoffe, ihr könnt weiterhelfen. Ich will einen Menüeintrag umbenennen. Ich versuche das mit</p>
<pre><code>ModifyMenu( hMenu, 1, MF_BYPOSITION | MF_STRING, NULL, TEXT(&quot;Stop&quot;) );
</code></pre>
<p>Hier sollte theoretisch das 1. Element umbenannt werden in &quot;Stop&quot;. Allerdings komme ich mit den Parametern nicht so klar. Dank im Voraus, Gruß, '][' !</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/104857/menüeintrag-umbennen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 05:50:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/104857.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 23 Mar 2005 22:54:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Menüeintrag umbennen on Wed, 23 Mar 2005 22:54:42 GMT]]></title><description><![CDATA[<p>Hi Community,</p>
<p>habe ein kleines Problem mit Menüs, dass mich ziemlich nervt. Hoffe, ihr könnt weiterhelfen. Ich will einen Menüeintrag umbenennen. Ich versuche das mit</p>
<pre><code>ModifyMenu( hMenu, 1, MF_BYPOSITION | MF_STRING, NULL, TEXT(&quot;Stop&quot;) );
</code></pre>
<p>Hier sollte theoretisch das 1. Element umbenannt werden in &quot;Stop&quot;. Allerdings komme ich mit den Parametern nicht so klar. Dank im Voraus, Gruß, '][' !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/751343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/751343</guid><dc:creator><![CDATA[Tanta]]></dc:creator><pubDate>Wed, 23 Mar 2005 22:54:42 GMT</pubDate></item><item><title><![CDATA[Reply to Menüeintrag umbennen on Wed, 23 Mar 2005 23:56:57 GMT]]></title><description><![CDATA[<p>änder mal deinen ersten Parameter in eine 0 - dann müsste es gehen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /><br />
Die werden nämlich nach dem &quot;zero-based index&quot; gezählt (siehe MSDN)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/751371</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/751371</guid><dc:creator><![CDATA[da-nic]]></dc:creator><pubDate>Wed, 23 Mar 2005 23:56:57 GMT</pubDate></item><item><title><![CDATA[Reply to Menüeintrag umbennen on Thu, 24 Mar 2005 09:56:06 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>ich ging auch davon aus, dass das 0. Element das erste der Rangordnung ist. Daran liegt es also nicht. Vielleicht liegt es daran, dass ich ein Pop-Up-Menü verwende?! Viele Grüße, '][' !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/751540</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/751540</guid><dc:creator><![CDATA[Tanta]]></dc:creator><pubDate>Thu, 24 Mar 2005 09:56:06 GMT</pubDate></item><item><title><![CDATA[Reply to Menüeintrag umbennen on Thu, 24 Mar 2005 12:41:50 GMT]]></title><description><![CDATA[<p>Wie holst du dir denn das Menü-Handle? Das wäre noch das einzige, was mir dazu einfällt, was falsch sen könnte.<br />
Und was sagt GetLastError?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/751717</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/751717</guid><dc:creator><![CDATA[da-nic]]></dc:creator><pubDate>Thu, 24 Mar 2005 12:41:50 GMT</pubDate></item><item><title><![CDATA[Reply to Menüeintrag umbennen on Thu, 24 Mar 2005 14:43:45 GMT]]></title><description><![CDATA[<p>Das ist das Codestück, dass die Arbeit machen soll.</p>
<pre><code>HMENU hMenu;

					hMenu = LoadMenu(g_hInstance, MAKEINTRESOURCE( MAKEWORD(IDR_MENU3, 0) ) );
					hMenu = GetSubMenu(hMenu, 0);

					timer.LaunchProgram( SendMessage(hwnd, LB_GETCURSEL, 0, 0) );						
					ModifyMenu( hMenu, 0, MF_BYPOSITION | MF_STRING, (UINT_PTR) &amp;hMenu, TEXT(&quot;Stop&quot;) );
</code></pre>
<p>Viele Grüße, '][' !</p>
]]></description><link>https://www.c-plusplus.net/forum/post/751860</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/751860</guid><dc:creator><![CDATA[Tanta]]></dc:creator><pubDate>Thu, 24 Mar 2005 14:43:45 GMT</pubDate></item><item><title><![CDATA[Reply to Menüeintrag umbennen on Thu, 24 Mar 2005 15:31:08 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">HMENU hMenu;
hMenu = LoadMenu(g_hInstance, MAKEINTRESOURCE( MAKEWORD(IDR_MENU3, 0) ) );
hMenu = GetSubMenu(hMenu, 0);
timer.LaunchProgram( SendMessage(hwnd, LB_GETCURSEL, 0, 0) );
ModifyMenu( hMenu, 0, MF_BYPOSITION | MF_STRING, 0, TEXT(&quot;Stop&quot;) );
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/751916</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/751916</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Thu, 24 Mar 2005 15:31:08 GMT</pubDate></item></channel></rss>