<?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[Variable Höhe eines Eintrags in einem Menü]]></title><description><![CDATA[<p>Wie kann ich in einem Menü, die jeweilige Höhe eines Eintrages setzen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/99031/variable-höhe-eines-eintrags-in-einem-menü</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 03:44:39 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/99031.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 24 Jan 2005 20:09:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Variable Höhe eines Eintrags in einem Menü on Mon, 24 Jan 2005 20:09:40 GMT]]></title><description><![CDATA[<p>Wie kann ich in einem Menü, die jeweilige Höhe eines Eintrages setzen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/705032</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/705032</guid><dc:creator><![CDATA[menuuu]]></dc:creator><pubDate>Mon, 24 Jan 2005 20:09:40 GMT</pubDate></item><item><title><![CDATA[Reply to Variable Höhe eines Eintrags in einem Menü on Mon, 24 Jan 2005 20:20:43 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">LPMEASUREITEMSTRUCT ms=(LPMEASUREITEMSTRUCT) lParam;
	ms-&gt;itemWidth=width;
	ms-&gt;itemHeight=height;
</code></pre>
<p>Damit setze ich das fest, aber ich will halt für jeden Menüeintrag eine dynamische Größe.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/705040</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/705040</guid><dc:creator><![CDATA[menuuuu]]></dc:creator><pubDate>Mon, 24 Jan 2005 20:20:43 GMT</pubDate></item><item><title><![CDATA[Reply to Variable Höhe eines Eintrags in einem Menü on Mon, 24 Jan 2005 20:43:39 GMT]]></title><description><![CDATA[<p>menuuuu schrieb:</p>
<blockquote>
<p>ich will halt für jeden Menüeintrag eine dynamische Größe.</p>
</blockquote>
<p>Wofür genau meinst du bzw. was für ein Menühast du. Ich hab mir nämlich gerade mal das Beispiel im Petzold für Bitmaps im Menü angeschaut, da wird gar keine Größe gesetzt <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/705069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/705069</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Mon, 24 Jan 2005 20:43:39 GMT</pubDate></item><item><title><![CDATA[Reply to Variable Höhe eines Eintrags in einem Menü on Mon, 24 Jan 2005 20:51:11 GMT]]></title><description><![CDATA[<p>Ich habe auch gerade das Buch vor mir liegen ^^.<br />
Ich habe ein OWNER_DRAW Menu.</p>
<p>Bevor ich weitermachen kann noch folgender fataler Fehler:</p>
<pre><code class="language-cpp">cannot open program database 'c:\documents and settings\my name\desktop\sososo\debug\vc60.idb'
</code></pre>
<p>Mein Rechner war abgestürzt und nun kannich mein Projekt nicht mehr kompilieren. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/705076</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/705076</guid><dc:creator><![CDATA[menuuu]]></dc:creator><pubDate>Mon, 24 Jan 2005 20:51:11 GMT</pubDate></item><item><title><![CDATA[Reply to Variable Höhe eines Eintrags in einem Menü on Mon, 24 Jan 2005 20:53:42 GMT]]></title><description><![CDATA[<p>Dann lösch halt die *.idb... oder &quot;bereinige&quot; das Projekt...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/705078</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/705078</guid><dc:creator><![CDATA[Hepi]]></dc:creator><pubDate>Mon, 24 Jan 2005 20:53:42 GMT</pubDate></item><item><title><![CDATA[Reply to Variable Höhe eines Eintrags in einem Menü on Mon, 24 Jan 2005 21:28:11 GMT]]></title><description><![CDATA[<p>Danke.</p>
<pre><code class="language-cpp">mii.cbSize= sizeof(MENUITEMINFO);
	mii.fMask = MIIM_ID |MIIM_FTYPE|MIIM_DATA;
	mii.fType = MF_OWNERDRAW;
	mii.wID   = 0;
AppendMenu(_hMenu,MF_BITMAP,mii.wID,(LPCTSTR )m_hBmp);
			SetMenuItemInfo(_hMenu,mii.wID,true,&amp;mii);
</code></pre>
<p>-&gt; Nun ist d. Eintrag immer so groß wie die Bitmap und man kann diesen Bereich selber <strong>be</strong>zeichnen (<em>WM_DRAWITEM</em>)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/705107</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/705107</guid><dc:creator><![CDATA[menuu]]></dc:creator><pubDate>Mon, 24 Jan 2005 21:28:11 GMT</pubDate></item></channel></rss>