<?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[Splitter mit 4 Ansichten in einem SDI-Dokument]]></title><description><![CDATA[<p>Hallo Leute, <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>ich habe mal versucht, in einem SDI-Dokument, 4 Ansichten zur erzeugen!</p>
<p>Das ist ist mir auch gelungen. Jedoch bekomme ich die linke Spalte nicht zu sehen.</p>
<p>Die linke Spalte ist erst sichtbar, wenn ich in der Oberfläche den vertikalen Splitter mit der Maus verschiebe.</p>
<p>Wie kann ich es einstellen, das der vertikale Splitter erst bei einem Wert von 300 anfängt????</p>
<p>Gruss Oliver</p>
<p>Híer ein Ausschnitt:</p>
<p>/******************************************************************************/</p>
<p>BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/, CCreateContext* pContext)</p>
<p>/******************************************************************************/</p>
<p>{</p>
<p>// create a splitter with 1 row, 2 columns<br />
if (!m_wndSplitter.CreateStatic(this, 1, 2))<br />
{<br />
TRACE0(&quot;Failed to CreateStaticSplitter\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// add the second splitter pane - which is a nested splitter with 2 rows<br />
if (!m_wndSplitter2.CreateStatic(<br />
&amp;m_wndSplitter, // our parent window is the first splitter<br />
2, 1, // the new splitter is 2 rows, 1 column<br />
WS_CHILD | WS_VISIBLE | WS_BORDER, // style, WS_BORDER is needed<br />
m_wndSplitter.IdFromRowCol(0, 1)<br />
// new splitter is in the first row, 2nd column of first splitter<br />
))<br />
{<br />
TRACE0(&quot;Failed to create nested splitter\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// now create the two views inside the nested splitter</p>
<p>if (!m_wndSplitter2.CreateView(0, 0,<br />
RUNTIME_CLASS(CDIALOG1), CSize(0, 100), pContext))<br />
{<br />
TRACE0(&quot;Failed to create result pane\n&quot;);<br />
return FALSE;<br />
}<br />
if (!m_wndSplitter2.CreateView(1, 0,<br />
RUNTIME_CLASS(CDIALOG2), CSize(0, 0), pContext))<br />
{<br />
TRACE0(&quot;Failed to create protocol pane\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// add the second splitter pane - which is a nested splitter with 2 rows<br />
if (!m_wndSplitter3.CreateStatic(<br />
&amp;m_wndSplitter, // our parent window is the first splitter<br />
2, 1, // the new splitter is 2 rows, 1 column<br />
WS_CHILD | WS_VISIBLE | WS_BORDER, // style, WS_BORDER is needed<br />
m_wndSplitter.IdFromRowCol(0, 0)<br />
// new splitter is in the first row, 1st column of first splitter<br />
))<br />
{<br />
TRACE0(&quot;Failed to create nested splitter\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// now create the two views inside the nested splitter</p>
<p>if (!m_wndSplitter3.CreateView(0, 0,<br />
RUNTIME_CLASS(CDIALOG3), CSize(300, 150), pContext))<br />
{<br />
TRACE0(&quot;Failed to create result pane\n&quot;);<br />
return FALSE;<br />
}<br />
if (!m_wndSplitter3.CreateView(1, 0,<br />
RUNTIME_CLASS(CDIALOG4), CSize(300, 0), pContext))<br />
{<br />
TRACE0(&quot;Failed to create protocol pane\n&quot;);<br />
return FALSE;<br />
}</p>
<p>return TRUE;</p>
<p>}</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/67065/splitter-mit-4-ansichten-in-einem-sdi-dokument</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 05:43:02 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/67065.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Mar 2004 11:37:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Splitter mit 4 Ansichten in einem SDI-Dokument on Fri, 05 Mar 2004 11:37:23 GMT]]></title><description><![CDATA[<p>Hallo Leute, <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":confused:"
      alt="😕"
    /></p>
<p>ich habe mal versucht, in einem SDI-Dokument, 4 Ansichten zur erzeugen!</p>
<p>Das ist ist mir auch gelungen. Jedoch bekomme ich die linke Spalte nicht zu sehen.</p>
<p>Die linke Spalte ist erst sichtbar, wenn ich in der Oberfläche den vertikalen Splitter mit der Maus verschiebe.</p>
<p>Wie kann ich es einstellen, das der vertikale Splitter erst bei einem Wert von 300 anfängt????</p>
<p>Gruss Oliver</p>
<p>Híer ein Ausschnitt:</p>
<p>/******************************************************************************/</p>
<p>BOOL CMainFrame::OnCreateClient(LPCREATESTRUCT /*lpcs*/, CCreateContext* pContext)</p>
<p>/******************************************************************************/</p>
<p>{</p>
<p>// create a splitter with 1 row, 2 columns<br />
if (!m_wndSplitter.CreateStatic(this, 1, 2))<br />
{<br />
TRACE0(&quot;Failed to CreateStaticSplitter\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// add the second splitter pane - which is a nested splitter with 2 rows<br />
if (!m_wndSplitter2.CreateStatic(<br />
&amp;m_wndSplitter, // our parent window is the first splitter<br />
2, 1, // the new splitter is 2 rows, 1 column<br />
WS_CHILD | WS_VISIBLE | WS_BORDER, // style, WS_BORDER is needed<br />
m_wndSplitter.IdFromRowCol(0, 1)<br />
// new splitter is in the first row, 2nd column of first splitter<br />
))<br />
{<br />
TRACE0(&quot;Failed to create nested splitter\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// now create the two views inside the nested splitter</p>
<p>if (!m_wndSplitter2.CreateView(0, 0,<br />
RUNTIME_CLASS(CDIALOG1), CSize(0, 100), pContext))<br />
{<br />
TRACE0(&quot;Failed to create result pane\n&quot;);<br />
return FALSE;<br />
}<br />
if (!m_wndSplitter2.CreateView(1, 0,<br />
RUNTIME_CLASS(CDIALOG2), CSize(0, 0), pContext))<br />
{<br />
TRACE0(&quot;Failed to create protocol pane\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// add the second splitter pane - which is a nested splitter with 2 rows<br />
if (!m_wndSplitter3.CreateStatic(<br />
&amp;m_wndSplitter, // our parent window is the first splitter<br />
2, 1, // the new splitter is 2 rows, 1 column<br />
WS_CHILD | WS_VISIBLE | WS_BORDER, // style, WS_BORDER is needed<br />
m_wndSplitter.IdFromRowCol(0, 0)<br />
// new splitter is in the first row, 1st column of first splitter<br />
))<br />
{<br />
TRACE0(&quot;Failed to create nested splitter\n&quot;);<br />
return FALSE;<br />
}</p>
<p>// now create the two views inside the nested splitter</p>
<p>if (!m_wndSplitter3.CreateView(0, 0,<br />
RUNTIME_CLASS(CDIALOG3), CSize(300, 150), pContext))<br />
{<br />
TRACE0(&quot;Failed to create result pane\n&quot;);<br />
return FALSE;<br />
}<br />
if (!m_wndSplitter3.CreateView(1, 0,<br />
RUNTIME_CLASS(CDIALOG4), CSize(300, 0), pContext))<br />
{<br />
TRACE0(&quot;Failed to create protocol pane\n&quot;);<br />
return FALSE;<br />
}</p>
<p>return TRUE;</p>
<p>}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/473632</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/473632</guid><dc:creator><![CDATA[Oliver Rosner]]></dc:creator><pubDate>Fri, 05 Mar 2004 11:37:23 GMT</pubDate></item></channel></rss>