<?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[Toolbar erstellen, aber sehe die Buttons nicht]]></title><description><![CDATA[<p>was mache ich falsch? Die Toolbar wird zwar erzeugt, aber die Buttons sehe ich net</p>
<pre><code class="language-cpp">WND CreateToolbar (HWND hWindow)
{

	TBADDBITMAP bit;
	memset (&amp;bit, 0, sizeof (TBADDBITMAP));
	bit.hInst = hGlobInstance;
	bit.nID = IDB_STD_SMALL_COLOR;

	TBBUTTON mypictures [] = 
	{
		{STD_FILENEW , IDM_NEW, TBSTATE_HIDDEN , BTNS_BUTTON, 0, 0},
		{STD_FILESAVE, IDM_SAVE, TBSTATE_HIDDEN, BTNS_BUTTON, 0, 0}
	};

	hTree = CreateWindowEx (NULL,
				   TOOLBARCLASSNAME,
				   &quot;&quot;,
				   WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS,
				   0,0,0,0,
				   hWindow,
				   (HMENU)1,
				   hGlobInstance, 
				   NULL);

	SendMessage (hTree, TB_ADDBUTTONS, (WPARAM)1, (LPARAM) (TBBUTTON*)&amp;mypictures);
	SendMessage (hTree, TB_BUTTONSTRUCTSIZE, (WPARAM) sizeof (TBBUTTON), 0);
	SendMessage (hTree, TB_AUTOSIZE, 0, 0);
	ShowWindow (hTree, SW_SHOW);
	UpdateWindow (hTree);

	return hTree;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/81272/toolbar-erstellen-aber-sehe-die-buttons-nicht</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 14:22:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/81272.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Jul 2004 18:38:43 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Toolbar erstellen, aber sehe die Buttons nicht on Thu, 29 Jul 2004 18:38:43 GMT]]></title><description><![CDATA[<p>was mache ich falsch? Die Toolbar wird zwar erzeugt, aber die Buttons sehe ich net</p>
<pre><code class="language-cpp">WND CreateToolbar (HWND hWindow)
{

	TBADDBITMAP bit;
	memset (&amp;bit, 0, sizeof (TBADDBITMAP));
	bit.hInst = hGlobInstance;
	bit.nID = IDB_STD_SMALL_COLOR;

	TBBUTTON mypictures [] = 
	{
		{STD_FILENEW , IDM_NEW, TBSTATE_HIDDEN , BTNS_BUTTON, 0, 0},
		{STD_FILESAVE, IDM_SAVE, TBSTATE_HIDDEN, BTNS_BUTTON, 0, 0}
	};

	hTree = CreateWindowEx (NULL,
				   TOOLBARCLASSNAME,
				   &quot;&quot;,
				   WS_CHILD | WS_VISIBLE | TBSTYLE_TOOLTIPS,
				   0,0,0,0,
				   hWindow,
				   (HMENU)1,
				   hGlobInstance, 
				   NULL);

	SendMessage (hTree, TB_ADDBUTTONS, (WPARAM)1, (LPARAM) (TBBUTTON*)&amp;mypictures);
	SendMessage (hTree, TB_BUTTONSTRUCTSIZE, (WPARAM) sizeof (TBBUTTON), 0);
	SendMessage (hTree, TB_AUTOSIZE, 0, 0);
	ShowWindow (hTree, SW_SHOW);
	UpdateWindow (hTree);

	return hTree;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/571165</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/571165</guid><dc:creator><![CDATA[fluxy]]></dc:creator><pubDate>Thu, 29 Jul 2004 18:38:43 GMT</pubDate></item><item><title><![CDATA[Reply to Toolbar erstellen, aber sehe die Buttons nicht on Sun, 01 Aug 2004 08:00:17 GMT]]></title><description><![CDATA[<p>was mache ich denn da falsch?!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/572510</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/572510</guid><dc:creator><![CDATA[fluxy]]></dc:creator><pubDate>Sun, 01 Aug 2004 08:00:17 GMT</pubDate></item><item><title><![CDATA[Reply to Toolbar erstellen, aber sehe die Buttons nicht on Sun, 01 Aug 2004 10:25:41 GMT]]></title><description><![CDATA[<p>Habe gerade keine Lust, das zu untersuchen, aber schau dir einfach mal die Code-Beispiele von <a href="http://msdn.microsoft.com/library/en-us/shellcc/platform/commctls/toolbar/toolbar_using.asp" rel="nofollow">Using Toolbar Controls</a> an - vielleicht findest du den Fehler damit sogar schon selber <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f576.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--sunglasses"
      title=":sunglasses:"
      alt="🕶"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/572583</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/572583</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Sun, 01 Aug 2004 10:25:41 GMT</pubDate></item><item><title><![CDATA[Reply to Toolbar erstellen, aber sehe die Buttons nicht on Mon, 02 Aug 2004 08:40:21 GMT]]></title><description><![CDATA[<p>ICh würde sie ja nit verstecken, die Buttons <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="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/573121</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/573121</guid><dc:creator><![CDATA[Nox]]></dc:creator><pubDate>Mon, 02 Aug 2004 08:40:21 GMT</pubDate></item></channel></rss>