<?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üs]]></title><description><![CDATA[<p>Hi!<br />
Weiss jemand, wie man ein normales Menü in einem MFC Programm anzeigt (kein Kontextmenü)?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/52491/menüs</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 00:19:56 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/52491.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Oct 2003 15:41:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Menüs on Mon, 20 Oct 2003 15:41:58 GMT]]></title><description><![CDATA[<p>Hi!<br />
Weiss jemand, wie man ein normales Menü in einem MFC Programm anzeigt (kein Kontextmenü)?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/375903</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/375903</guid><dc:creator><![CDATA[godlikebot]]></dc:creator><pubDate>Mon, 20 Oct 2003 15:41:58 GMT</pubDate></item><item><title><![CDATA[Reply to Menüs on Mon, 20 Oct 2003 16:10:35 GMT]]></title><description><![CDATA[<p>rechte maustaste auf den dialog -&gt; Einstellungen<br />
und im drop down das menu auswählen !?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/375926</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/375926</guid><dc:creator><![CDATA[C-O-M-M-A-N-D-E-R]]></dc:creator><pubDate>Mon, 20 Oct 2003 16:10:35 GMT</pubDate></item><item><title><![CDATA[Reply to Menüs on Mon, 20 Oct 2003 16:55:51 GMT]]></title><description><![CDATA[<p>ja, das würde funktionieren. Ich meine aber eine SDI Anwendung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/375945</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/375945</guid><dc:creator><![CDATA[godlikebot]]></dc:creator><pubDate>Mon, 20 Oct 2003 16:55:51 GMT</pubDate></item><item><title><![CDATA[Reply to Menüs on Mon, 20 Oct 2003 17:27:07 GMT]]></title><description><![CDATA[<p>SDI/MDI haben bereits Menüs</p>
]]></description><link>https://www.c-plusplus.net/forum/post/375961</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/375961</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Mon, 20 Oct 2003 17:27:07 GMT</pubDate></item><item><title><![CDATA[Reply to Menüs on Tue, 21 Oct 2003 06:32:46 GMT]]></title><description><![CDATA[<p>Sorry, ich hätte das vielleicht besser erklären sollen.<br />
Also, ich habe das Fenster meiner Anwendung in 4 Teile geteilt. Jedes dieser Teile ist von der Klasse CFrameWnd abgeleitet. Ich möchte nun in jedem dieser Teile ein Menü haben. Wie mache ich das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/375978</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/375978</guid><dc:creator><![CDATA[godlikebot]]></dc:creator><pubDate>Tue, 21 Oct 2003 06:32:46 GMT</pubDate></item><item><title><![CDATA[Reply to Menüs on Mon, 20 Oct 2003 20:09:55 GMT]]></title><description><![CDATA[<p>Ich bin jetzt ein ganzes Stück weiter gekommen. In der PreCreateWindow() Funktion kann man ja durch ändern der &quot;CREATESTRUCT&amp; cs&quot; die Einstellungen des Fensters ändern. Unter anderem auch das Menü, durch Ändern der HMENU hMenu Variablen. Ich weiss aber nicht was ich dieser Variablen zuweisen soll.<br />
Mit:</p>
<pre><code class="language-cpp">cs.hMenu = IDR_MENU1;
</code></pre>
<p>funzt es nicht, weil der Compiler anfängt rumzumeckern, dass er int nicht in HMENU konvertieren kann.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/376078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/376078</guid><dc:creator><![CDATA[godlikebot]]></dc:creator><pubDate>Mon, 20 Oct 2003 20:09:55 GMT</pubDate></item><item><title><![CDATA[Reply to Menüs on Mon, 20 Oct 2003 23:09:56 GMT]]></title><description><![CDATA[<p>hi,<br />
hast du´s schon mal mit SetMenu() probiert???</p>
<p>Also:<br />
1. Menuresource anlegen (z.b. IDR_MENU1)<br />
2. CMenu objekt (z.b. CMenu m_cmMenu;) in header datei aufnehmen und<br />
3. das menu mit m_cmMenu.LoadMenu(IDR_MENU1); laden<br />
4. Dann mit SetMenu(&amp;m_cmMenu); deinem Fenster zuweisen.</p>
<p>habs nicht getestet, aber is doch mal n ansatz oder??</p>
<p>aussderdem leg ich dir die msdn ans herz ...<br />
schau mal nach CWnd::SetMenu oder CMenu</p>
<p>grüsse</p>
]]></description><link>https://www.c-plusplus.net/forum/post/376135</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/376135</guid><dc:creator><![CDATA[soUrcerer]]></dc:creator><pubDate>Mon, 20 Oct 2003 23:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to Menüs on Tue, 21 Oct 2003 06:33:13 GMT]]></title><description><![CDATA[<p>Danke für deinen Vorschlag. Er funktioniert auch solange ich das ganze in CMainFrame schreibe, aber sobald ich versuche das in meine Klasse zu schreiben, die für das Teilfenster zuständig ist, bekomme ich einen Assert.<br />
Ich hab auch schon in der MSDN nachgeschaut und nach Tutorials gesucht, aber nichts gefunden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/376185</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/376185</guid><dc:creator><![CDATA[godlikebot]]></dc:creator><pubDate>Tue, 21 Oct 2003 06:33:13 GMT</pubDate></item></channel></rss>