<?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[ActiveX Button zu groß]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe mir ein ActiveX Control als Button kreiert.</p>
<p>Diesen ActiveX Button möchte ich nun in meiner Clientanwendung verwenden.</p>
<p>Der AX Container ist 450x350 groß.</p>
<p>Wenn nun mein Active X instanziert wird nimmt es die Größe des Containers an.</p>
<p>Kann ich das irgenwie abstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/146105/activex-button-zu-groß</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 08:11:19 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/146105.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 May 2006 10:22:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ActiveX Button zu groß on Thu, 04 May 2006 10:22:15 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe mir ein ActiveX Control als Button kreiert.</p>
<p>Diesen ActiveX Button möchte ich nun in meiner Clientanwendung verwenden.</p>
<p>Der AX Container ist 450x350 groß.</p>
<p>Wenn nun mein Active X instanziert wird nimmt es die Größe des Containers an.</p>
<p>Kann ich das irgenwie abstellen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1050768</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1050768</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Thu, 04 May 2006 10:22:15 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX Button zu groß on Thu, 04 May 2006 10:58:11 GMT]]></title><description><![CDATA[<p>Der Container ist doch verantwortlich dafür, dass die entsprechende Größe des Controls definiert wird. Für das zeichnen und das Verhalten Deines Controls bist Du selbst verantwortlich, wenn Du also den Button kleiner haben möchtest, oder eben nur bis zu einer bestimmten Größe, dann musst Du das selber regeln.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1050790</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1050790</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 04 May 2006 10:58:11 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX Button zu groß on Thu, 04 May 2006 11:07:39 GMT]]></title><description><![CDATA[<p>Das würde ich ja gerna machen,</p>
<p>aber ich weiss nicht wie.</p>
<p>In Meinem ActiveX mache ich folgendes:</p>
<pre><code>BOOL CDev14_3LEAxAdaptCtrl::PreCreateWindow(CREATESTRUCT&amp; cs)
{
	cs.lpszClass = _T(&quot;BUTTON&quot;);
	return COleControl::PreCreateWindow(cs);
}
</code></pre>
<p>Wie variere ich die Grösse</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1050796</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1050796</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Thu, 04 May 2006 11:07:39 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX Button zu groß on Thu, 04 May 2006 11:10:43 GMT]]></title><description><![CDATA[<p>So geht es gar nicht, denn Du hast Deinem ActiveX-Control gesagt du bist komplett ein Button!</p>
<p>Der Ansatz ist immer dieser:<br />
Der Container dem Control sagt wie große es ist und wo es sitzen soll! Dazu existieren ja auch entsprechende Properties!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1050800</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1050800</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Thu, 04 May 2006 11:10:43 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX Button zu groß on Thu, 04 May 2006 11:23:38 GMT]]></title><description><![CDATA[<p>Das stimmt nicht ganz,</p>
<p>in meinem ActiveX kann ich übder die funktion</p>
<pre><code class="language-cpp">this-&gt;SetControlSize(100,30);
</code></pre>
<p>die Größe varieren.</p>
<p>Nun habe ich das Problem, dass es immer oben links sitzt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1050808</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1050808</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Thu, 04 May 2006 11:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to ActiveX Button zu groß on Thu, 04 May 2006 11:53:38 GMT]]></title><description><![CDATA[<p>Ich könnte es ja auch so machen:</p>
<pre><code class="language-cpp">BOOL CDev14_3LEAxAdaptCtrl::PreCreateWindow(CREATESTRUCT&amp; cs)
{
    cs.lpszClass = _T(&quot;STATIC&quot;);
    return COleControl::PreCreateWindow(cs);
}
</code></pre>
<p>Aber wie bekomme ich einen button auf main ActiveX?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1050835</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1050835</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Thu, 04 May 2006 11:53:38 GMT</pubDate></item></channel></rss>