<?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[Reziable Dialog mit CTab]]></title><description><![CDATA[<p>Hi</p>
<p>Ich habe die Reziable Libary von CodeProject ausprobiert.</p>
<p>Ich habe allerdings in meinem Dialog ein Tab Control. Das TabControl selbst ändert die Grösse beim Grösse des Dialogs ändern.</p>
<p>Der 2te Dialog der im Tab Control ändert jedoch nicht die Grösse. Ich habe CReziablePage ohne Erfolg ausprobiert. Auch mit CReziable Dialog erhalte ich nur ein vom Hauptdialog unabhängiges Grösse ändern. Ich hab auch versucht alle Controls direkt im Hauptdialog zu Adden.</p>
<p>Es soll ein CListCtrl und der Dialog drumrum rezist werden. Und dieser Dialog ist in einem Tab Control.</p>
<p>Also wenn jemand sowas schonmal gemacht hat bzw eine bessere Reziable Libary kennt. Dann bitte antwortet.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/5854/reziable-dialog-mit-ctab</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 03:18:16 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/5854.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 May 2003 09:49:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Reziable Dialog mit CTab on Sat, 17 May 2003 09:49:00 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>Ich habe die Reziable Libary von CodeProject ausprobiert.</p>
<p>Ich habe allerdings in meinem Dialog ein Tab Control. Das TabControl selbst ändert die Grösse beim Grösse des Dialogs ändern.</p>
<p>Der 2te Dialog der im Tab Control ändert jedoch nicht die Grösse. Ich habe CReziablePage ohne Erfolg ausprobiert. Auch mit CReziable Dialog erhalte ich nur ein vom Hauptdialog unabhängiges Grösse ändern. Ich hab auch versucht alle Controls direkt im Hauptdialog zu Adden.</p>
<p>Es soll ein CListCtrl und der Dialog drumrum rezist werden. Und dieser Dialog ist in einem Tab Control.</p>
<p>Also wenn jemand sowas schonmal gemacht hat bzw eine bessere Reziable Libary kennt. Dann bitte antwortet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28413</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28413</guid><dc:creator><![CDATA[_DaRpH_]]></dc:creator><pubDate>Sat, 17 May 2003 09:49:00 GMT</pubDate></item><item><title><![CDATA[Reply to Reziable Dialog mit CTab on Sun, 18 May 2003 16:50:00 GMT]]></title><description><![CDATA[<p>ach kommt schon ihr könnt mir doch nicht weismachen das noch niemand von euch ein reziable Dialog mit einem TabControl gemacht hat.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28414</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28414</guid><dc:creator><![CDATA[DaRpH]]></dc:creator><pubDate>Sun, 18 May 2003 16:50:00 GMT</pubDate></item><item><title><![CDATA[Reply to Reziable Dialog mit CTab on Mon, 19 May 2003 06:26:00 GMT]]></title><description><![CDATA[<p>Niemand von uns kennt eine Reziable Library</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28415</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28415</guid><dc:creator><![CDATA[RenéG]]></dc:creator><pubDate>Mon, 19 May 2003 06:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to Reziable Dialog mit CTab on Mon, 19 May 2003 12:18:00 GMT]]></title><description><![CDATA[<p>Reziable = Resizable?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28416</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28416</guid><dc:creator><![CDATA[Shaggy]]></dc:creator><pubDate>Mon, 19 May 2003 12:18:00 GMT</pubDate></item><item><title><![CDATA[Reply to Reziable Dialog mit CTab on Thu, 22 May 2003 15:04:00 GMT]]></title><description><![CDATA[<p>Jup^^</p>
<p>Also ich kann inzwischen das erste Child Window des CTabs Ctrl resizen. Hier der Code dafür:</p>
<p>Variable:</p>
<pre><code class="language-cpp">CWnd* m_pTabsWnds[50];
</code></pre>
<p>OnSize:</p>
<pre><code class="language-cpp">void CXTabCtrl::OnSize(UINT nType, int cx, int cy) 
{
    CTabCtrl::OnSize(nType, cx, cy);

    int count = 0;
    int iIndex = m_arrayStatusTab.GetSize();

    CWnd* wnd = GetTopWindow(); //&lt;--- Hier ist nur das erste wie kreig ich die anderen
    if(wnd) {
        CRect rect;
        wnd-&gt;GetWindowRect(rect);
        ScreenToClient(rect);
        rect.bottom = cy-2;
        rect.right = cx-2;
        wnd-&gt;MoveWindow(rect);
    }

/*  CWnd* pWndFinish=GetDlgItem(IDD_RESOURCESDLG); //Versuch den Dialog direkt zu rezisen

    if(pWndFinish) {
        CRect rcWnd;
        GetDlgItem(IDD_INFODLG)-&gt;GetWindowRect(&amp;rcWnd);
        ScreenToClient(&amp;rcWnd);
        pWndFinish-&gt;MoveWindow(rcWnd);
        pWndFinish-&gt;RedrawWindow(0,0, RDW_INVALIDATE | RDW_UPDATENOW );
    }
*/
/*  while(count &lt;= iIndex) { // Mein Versuch die anderen zu reszisen
        if(m_pTabsWnds[count]) {
            CWnd* wnd = (CWnd*)m_pTabsWnds[count];
            //CWnd* wnd = GetWindow(GW_HWNDPREV);
            //CWnd* wnd = GetNextWindow();
            if(wnd) {
                CRect rect;
                wnd-&gt;GetWindowRect(rect);
                ScreenToClient(rect);
                rect.bottom = cy-2;
                rect.right = cx-2;
                wnd-&gt;MoveWindow(rect);
            }
        }
        count++;
    }
*/
}
</code></pre>
<p>AddTab</p>
<pre><code class="language-cpp">void CXTabCtrl::AddTab(CWnd* pWnd, LPTSTR lpszCaption, int iImage)
{
    ASSERT_VALID(pWnd);

    TCITEM item;
    item.mask = TCIF_TEXT|TCIF_PARAM|TCIF_IMAGE;
    item.lParam = (LPARAM) pWnd;
    item.pszText = lpszCaption;
    item.iImage = iImage;

    int iIndex = m_arrayStatusTab.GetSize();
    InsertItem(iIndex, &amp;item);

    pWnd-&gt;SetWindowPos(NULL, m_ptTabs.x, m_ptTabs.y , 0, 0,
                        SWP_FRAMECHANGED | SWP_NOZORDER | SWP_NOSIZE);

    pWnd-&gt;ShowWindow(iIndex ? SW_HIDE : SW_SHOW);

    //** the initial status is enabled
    m_arrayStatusTab.Add(TRUE); 
    m_pTabsWnds[iIndex] = (CWnd*)pWnd; //&lt;--- Versuch das CWnd abzuspeichern
}
</code></pre>
<p>Wie schon gesagt nur das erste Dialogfenster des CTab ändert sich, alle anderen bleiben gleich. Also meien Frage wie reszise ich alle Fenster die im CTab sind.</p>
<p>Ich bin für jeden Lösungsansatz bzw Idee dankbar.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/28417</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/28417</guid><dc:creator><![CDATA[DaRpH]]></dc:creator><pubDate>Thu, 22 May 2003 15:04:00 GMT</pubDate></item></channel></rss>