<?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 : CXTPTabC&#111;ntrol Dynamic Window</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTabC&#111;ntrol Dynamic Window]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 11:02:36 +0000</pubDate>
  <lastBuildDate>Fri, 14 Apr 2006 08:31:37 +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=4000</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[CXTPTabC&#111;ntrol Dynamic Window : I tried that. I was going to send...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4000&amp;PID=12195&amp;title=cxtptabcontrol-dynamic-window#12195</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1934">cgaskill</a><br /><strong>Subject:</strong> 4000<br /><strong>Posted:</strong> 14 April 2006 at 8:31am<br /><br />I tried that.&nbsp; I was going to send the notification that the selection had changed first (which would allow the parent to call the SetHandle with the new window) then set the internal variable m_hwndClient as it currently does; however, the hwndClient variable is private so I can't access it.]]>
   </description>
   <pubDate>Fri, 14 Apr 2006 08:31:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4000&amp;PID=12195&amp;title=cxtptabcontrol-dynamic-window#12195</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabC&#111;ntrol Dynamic Window : hi, SetSelectedItem is virtual...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4000&amp;PID=12181&amp;title=cxtptabcontrol-dynamic-window#12181</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4000<br /><strong>Posted:</strong> 13 April 2006 at 7:59pm<br /><br /><P>hi,</P><P>SetSelectedItem is virtual method, you can just override it and set handle before paret class call.</P>]]>
   </description>
   <pubDate>Thu, 13 Apr 2006 19:59:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4000&amp;PID=12181&amp;title=cxtptabcontrol-dynamic-window#12181</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabC&#111;ntrol Dynamic Window : I have a project that will create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4000&amp;PID=12180&amp;title=cxtptabcontrol-dynamic-window#12180</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1934">cgaskill</a><br /><strong>Subject:</strong> 4000<br /><strong>Posted:</strong> 13 April 2006 at 7:29pm<br /><br /><P>I have a project that will create a tab for each DLL that is associated to it.&nbsp; I create the tab via InsertItem but leave&nbsp;the hwndClient parameter as NULL.&nbsp; Then when the user clicks on a tab I want to load the DLL library, create the window, and so it to the user.&nbsp; I can load the library, create the window, and associate the new window to the specific tab via the SetHandle method on the CXTPTabManagerItem class.&nbsp; However, the SetSelectedItem method of CXTPTabControl gets the child window via (GetHandle) before it notifies the parent that the user selected a new tab.&nbsp; So the tab doesn't show the window.&nbsp; Since the m_hwndClient variable of CXTPTabControl is only set in the SetSelectedItem method there is no way to set this other than clicking on another tab then clicking back to see the window.&nbsp; Not what we want the user to have to do.&nbsp; Since the variable m_hwndClient is private I can't subclass CXTPTabControl to provide my own implementation for the virtual method SetSelectedItem.&nbsp; My work around is after I have created the new window I call SetSelectedItem(NULL), then SetSelectedItem(pTabItem) (where pTabItem as retrieve from a previous call to GetSelectedItem) to force it to draw properly.</P><P>Is this the only way to accomplish this or am I missing something?</P>]]>
   </description>
   <pubDate>Thu, 13 Apr 2006 19:29:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4000&amp;PID=12180&amp;title=cxtptabcontrol-dynamic-window#12180</guid>
  </item> 
 </channel>
</rss>