<?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 : Question about TabbedView sample</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Question about TabbedView sample]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 06:40:23 +0000</pubDate>
  <lastBuildDate>Mon, 15 Jan 2007 09:41: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=6123</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[Question about TabbedView sample : Problem in  void CMainFrame::OnEditTest(){CTabbedViewView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6123&amp;PID=19361&amp;title=question-about-tabbedview-sample#19361</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 15 January 2007 at 9:41am<br /><br />Problem in <DIV>void CMainFrame::OnEditTest()<BR>{<BR>&nbsp;CTabbedViewView *m_pView&nbsp; = (CTabbedViewView *)this-&gt;GetActiveView();<BR>&nbsp;m_pView-&gt;OnEditTest();<BR>}</DIV><DIV>&nbsp;</DIV><DIV>GetActiveView is not CTabbedViewView .</DIV><DIV>&nbsp;</DIV><DIV>better add </DIV><DIV>ON_COMMAND(ID_EDIT_TEST, OnEditTest) </DIV><DIV>in CPropertiesView. and remove CMainFrame::OnEditTest() and TabbedViewView::OnEditTest()</DIV>]]>
   </description>
   <pubDate>Mon, 15 Jan 2007 09:41:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6123&amp;PID=19361&amp;title=question-about-tabbedview-sample#19361</guid>
  </item> 
  <item>
   <title><![CDATA[Question about TabbedView sample : Ineed torun a functionof CPropertiesView...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6123&amp;PID=19359&amp;title=question-about-tabbedview-sample#19359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2568">zjroland</a><br /><strong>Subject:</strong> 6123<br /><strong>Posted:</strong> 15 January 2007 at 9:20am<br /><br />I&nbsp;need to&nbsp;run a function&nbsp;of CPropertiesView at CTabbedViewView, but error occurs.<DIV>There is a function&nbsp;in CPropertiesView, I need to use it at &nbsp;CTabbedViewView. </DIV><DIV>here is my code:</DIV><DIV>&nbsp;</DIV><DIV>void CTabbedViewView::OnEditTest()<BR>{<BR>&nbsp;CView* pView = DYNAMIC_DOWNCAST(CView, CWnd::FromHandle(m_wndTabControl.GetSelectedItem()-&gt;GetHandle()));&nbsp; //here&nbsp;error&nbsp;occurs<BR>&nbsp;((CPropertiesView*)pView)-&gt;Doatest();<BR>}</DIV><DIV>&nbsp;</DIV><DIV>but error occurs, I debug to XTPTabManager.h</DIV><DIV>AFX_INLINE CXTPTabManagerItem* CXTPTabManager::GetSelectedItem() {<BR>&nbsp;return m_pSelected;&nbsp;&nbsp;&nbsp; //here error occurs<BR>}</DIV><DIV>&nbsp;</DIV><DIV>How can I run this function at CTabbedViewView?</DIV><DIV>here is my code. <a href="https://forum.codejock.com/uploads/20070115_091807_TabbedView.zip" target="_blank">uploads/20070115_091807_TabbedView.zip</A></DIV><DIV>Oleg, pleae test here: main menu - Edit - Test</DIV>]]>
   </description>
   <pubDate>Mon, 15 Jan 2007 09:20:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6123&amp;PID=19359&amp;title=question-about-tabbedview-sample#19359</guid>
  </item> 
 </channel>
</rss>