<?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[dialogfenster eine best. groesse zuweisen]]></title><description><![CDATA[<p>halloele!</p>
<p>ich bin auf der suche nach einer moeglichkeit, einem dialogfenster eine bestimmte groesse (640x480 pixel) zuzuweisen.<br />
kann ich das in der CDialog::OnInitDialog() machen und wenn ja, wie?<br />
waere nett, wenn mir jemand einen tipp geben koennte. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>gruesse,<br />
captain leela</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/82603/dialogfenster-eine-best-groesse-zuweisen</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 06:15:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/82603.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Aug 2004 13:06:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to dialogfenster eine best. groesse zuweisen on Thu, 12 Aug 2004 13:06:20 GMT]]></title><description><![CDATA[<p>halloele!</p>
<p>ich bin auf der suche nach einer moeglichkeit, einem dialogfenster eine bestimmte groesse (640x480 pixel) zuzuweisen.<br />
kann ich das in der CDialog::OnInitDialog() machen und wenn ja, wie?<br />
waere nett, wenn mir jemand einen tipp geben koennte. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
<p>gruesse,<br />
captain leela</p>
]]></description><link>https://www.c-plusplus.net/forum/post/580992</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/580992</guid><dc:creator><![CDATA[captain leela]]></dc:creator><pubDate>Thu, 12 Aug 2004 13:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to dialogfenster eine best. groesse zuweisen on Thu, 12 Aug 2004 13:41:13 GMT]]></title><description><![CDATA[<p>Servus,</p>
<p>guckst du MSDN: &quot;SetWindowPos&quot;</p>
<p>*winke*<br />
Hellsgore</p>
]]></description><link>https://www.c-plusplus.net/forum/post/581025</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/581025</guid><dc:creator><![CDATA[Hellsgore]]></dc:creator><pubDate>Thu, 12 Aug 2004 13:41:13 GMT</pubDate></item><item><title><![CDATA[Reply to dialogfenster eine best. groesse zuweisen on Tue, 24 Aug 2004 14:48:51 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>habe das bei mir wie folgt gemacht (SDI-Anwendung mit 1024x768)</p>
<pre><code class="language-cpp">BOOL CMainFrame::PreCreateWindow(CREATESTRUCT&amp; cs)
{
  ...
  int i_breite = GetSystemMetrics( SM_CXSCREEN );
  int i_hoehe = GetSystemMetrics( SM_CYSCREEN );

  // Anzeigemodus ist 1024 x 768
  if( (i_breite == 1024) &amp;&amp; (i_hoehe == 768) )  {
    cs.x = 0;
    cs.y = 0;
    cs.cx = GetSystemMetrics(SM_CXFULLSCREEN); 
    cs.cy = GetSystemMetrics(SM_CYFULLSCREEN) + GetSystemMetrics(SM_CYCAPTION);
    if( cs.cy &gt; i_hoehe ) 
      cs.cy = i_hoehe;

    cs.style |= WS_MAXIMIZE;
    cs.style &amp;= ~WS_THICKFRAME;	// TO avoid resizing
    cs.style &amp;= ~WS_MAXIMIZEBOX;	// Disable maximize button
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/590125</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/590125</guid><dc:creator><![CDATA[Tiger287]]></dc:creator><pubDate>Tue, 24 Aug 2004 14:48:51 GMT</pubDate></item></channel></rss>