<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTSplitterWnd not brought to top</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTSplitterWnd not brought to top]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 05:40:05 +0000</pubDate>
  <lastBuildDate>Sun, 04 Feb 2007 16:15:36 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=6317</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTSplitterWnd not brought to top : I solved it. Though, I do not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6317&amp;PID=20062&amp;title=cxtsplitterwnd-not-brought-to-top#20062</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 6317<br /><strong>Posted:</strong> 04 February 2007 at 4:15pm<br /><br />I solved it. Though, I do not like the solution. Before the call SetWindowPlacement I have to get hold of the CFrameWnd in case of a CXTSplitterWnd:<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>// This could be a splitter window<BR>if (!pWnd-&gt;IsKindOf(RUNTIME_CLASS(CFrameWnd)))<BR>{<BR>&nbsp;&nbsp;&nbsp; CFrameWnd *pFrameWnd = pWnd-&gt;GetParentFrame();<BR>&nbsp;&nbsp;&nbsp; if (pFrameWnd)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pWnd = DYNAMIC_DOWNCAST(CWnd, pFrameWnd);<BR>}</DIV><DIV>&nbsp;</DIV><DIV>// Now I can call pWnd-&gt;SetWindowPlacement(...)</DIV><DIV>&nbsp;</DIV><DIV>Two hours of struggling! Oh, well. I deserve a coffee break now <img src="http://forum.codejock.com/smileys/smiley17.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Sun, 04 Feb 2007 16:15:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6317&amp;PID=20062&amp;title=cxtsplitterwnd-not-brought-to-top#20062</guid>
  </item> 
  <item>
   <title><![CDATA[CXTSplitterWnd not brought to top : A frame with no splitter generates...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6317&amp;PID=20060&amp;title=cxtsplitterwnd-not-brought-to-top#20060</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 6317<br /><strong>Posted:</strong> 04 February 2007 at 3:47pm<br /><br />A frame with no splitter generates the following messages when I click on its tab (a ribbon button):<DIV>&nbsp;</DIV><DIV>&lt;00028&gt; 000401D4 R WM_ACTIVATE<BR>&lt;00029&gt; 00040374 S WM_CAPTURECHANGED hwndNewCapture:00000000<BR>&lt;00030&gt; 00040374 R WM_CAPTURECHANGED<BR>&lt;00031&gt; 000403A0 S <FONT color=#000000><strong>WM_CHILDACTIVATE</strong><BR></FONT>&lt;00032&gt; 000403A6 S <FONT color=#ff0000><strong>WM_MDIACTIVATE</strong> </FONT>hwndDeactivate:000403A6 hwndActivate:000403A0 (deactivating)<BR>&lt;00033&gt; 000A01CE S WM_MDIREFRESHMENU<BR>&lt;00034&gt; 000A01CE R WM_MDIREFRESHMENU hmenuFrame:00000000<BR>&lt;00035&gt; 000403A6 R <FONT color=#ff0000><strong>WM_MDIACTIVATE</strong><BR></FONT>&lt;00036&gt; 000A01CE S WM_MOVE xPos:2 yPos:148<BR>&lt;00037&gt; 000A01CE R WM_MOVE<BR>&lt;00038&gt; 000A01CE S WM_SIZE fwSizeType:SIZE_RESTORED nWidth:1276 nHeight:850<BR>&lt;00039&gt; 000A01CE R WM_SIZE</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>... where as the frame with the splitter generates:</DIV><DIV>&nbsp;</DIV><DIV>&lt;00028&gt; 000401D4 R WM_ACTIVATE<BR>&lt;00029&gt; 00040374 S WM_CAPTURECHANGED hwndNewCapture:00000000<BR>&lt;00030&gt; 00040374 R WM_CAPTURECHANGED<BR>&lt;00031&gt; 0004039C S WM_CHILDACTIVATE<BR>&lt;00032&gt; 0004039C R <strong>WM_CHILDACTIVATE</strong><BR>&lt;00033&gt; 000401D4 S WM_ACTIVATE fActive:WA_INACTIVE fMinimized:False hwndPrevious:(null)<BR>&lt;00034&gt; 000401D4 R WM_ACTIVATE<BR>&lt;00035&gt; 00040384 S WM_KILLFOCUS hwndGetFocus:(null)<BR>&lt;00036&gt; 00040384 R WM_KILLFOCUS<BR></DIV><DIV>&nbsp;</DIV><DIV>Any ideas why WM_MDIACTIVATE is not sent?</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Sun, 04 Feb 2007 15:47:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6317&amp;PID=20060&amp;title=cxtsplitterwnd-not-brought-to-top#20060</guid>
  </item> 
  <item>
   <title><![CDATA[CXTSplitterWnd not brought to top : I have a ribbonapplication with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6317&amp;PID=20057&amp;title=cxtsplitterwnd-not-brought-to-top#20057</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 6317<br /><strong>Posted:</strong> 04 February 2007 at 1:03pm<br /><br />I have a ribbon&nbsp;application with multiple views handled by a <FONT color=#040004 size=2>CXTPTabClientWnd with no groups</FONT>. One of the frames contains a splitter with two views. This frame is correctly shown when it is being created. However, if it has already been created and minimized, it refuses to show when I order it to be shown.<DIV>&nbsp;</DIV><DIV>This works for all views with NO splitter window:</DIV><DIV>&nbsp;</DIV><DIV>...</DIV><DIV>wpl.showCmd = SW_SHOWMAXIMIZED; // Bring window to top<BR>pWnd-&gt;SetWindowPlacement(&amp;wpl);<BR>pWnd-&gt;BringWindowToTop();</DIV><DIV>&nbsp;</DIV><DIV>Question:</DIV><DIV>How do I bring the splitter and its views to top?</DIV>]]>
   </description>
   <pubDate>Sun, 04 Feb 2007 13:03:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6317&amp;PID=20057&amp;title=cxtsplitterwnd-not-brought-to-top#20057</guid>
  </item> 
 </channel>
</rss>