<?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 : no view in my mfc</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Visual C++ MFC : no view in my mfc]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 18:06:06 +0000</pubDate>
  <lastBuildDate>Wed, 08 Apr 2009 23:00:02 +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=13150</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[no view in my mfc : Child frame should have some internal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13150&amp;PID=47703&amp;title=no-view-in-my-mfc#47703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 13150<br /><strong>Posted:</strong> 08 April 2009 at 11:00pm<br /><br /><DIV>Child frame should have some internal content - usually created in virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); </DIV><DIV>Do you have one?<BR>e.g. in my sample used new MS FeaturePack I use it this way as like to have&nbsp;calendar&nbsp;and datepiker&nbsp;in one child frame but you can eliminate splitter and create only calendar control here</DIV><DIV>&nbsp;</DIV><DIV>BOOL CChildFrame::OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext) <BR>{<BR>&nbsp;BOOL bRet = TRUE;//CMDIChildWndEx::OnCreateClient(lpcs, pContext);</DIV><DIV>&nbsp;&nbsp; if (!m_wndSplitter.CreateStatic(this, 1, 2))<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create split bar ");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return FALSE;<BR>&nbsp;&nbsp; }</DIV><DIV>&nbsp;VERIFY(m_wndSplitter.CreateView(0,0,RUNTIME_CLASS(CCalViewNew),CSize(200, 200),pContext));<BR>&nbsp;VERIFY(m_wndSplitter.CreateView(0,1,RUNTIME_CLASS(CDatePickerView),CSize(200, 200),pContext));</DIV><DIV>&nbsp;bReady = TRUE;<BR>&nbsp;<BR>&nbsp;CMainFrame* pMain = DYNAMIC_DOWNCAST(CMainFrame, AfxGetMainWnd());<BR>&nbsp;if (pMain)<BR>&nbsp;{<BR>&nbsp;&nbsp;CCalViewNew* pCal = DYNAMIC_DOWNCAST(CCalViewNew, m_wndSplitter.GetPane(0,0));<BR>&nbsp;&nbsp;if (pCal)<BR>&nbsp;&nbsp;&nbsp;pCal-&gt;m_CalendarController.SetDatePicker(pMain-&gt;m_Picker);&nbsp;&nbsp;<BR>&nbsp;}</DIV><DIV>&nbsp;return bRet;<BR>}</DIV><DIV>&nbsp;</DIV><DIV>Another approach - create calendar in dialog - there is sample how to implement it (look in Forum - there is a link to my recent source)</DIV>]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 23:00:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13150&amp;PID=47703&amp;title=no-view-in-my-mfc#47703</guid>
  </item> 
  <item>
   <title><![CDATA[no view in my mfc : Hi support,  In my project which...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13150&amp;PID=44479&amp;title=no-view-in-my-mfc#44479</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3398">jjqin</a><br /><strong>Subject:</strong> 13150<br /><strong>Posted:</strong> 12 January 2009 at 12:52pm<br /><br />Hi support,<DIV>&nbsp;</DIV><DIV>In my project which is mfc but linked codejock as static lib and in my project which do not have view class and every thing it doing in the child frame class.&nbsp; I had a lot crush cause by dc.m_hDC = NULL.&nbsp; Any idea to fix this quickly?</DIV><DIV>&nbsp;</DIV><DIV>Thanks in the advance.</DIV><DIV>&nbsp;</DIV><DIV>-JianJing</DIV>]]>
   </description>
   <pubDate>Mon, 12 Jan 2009 12:52:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13150&amp;PID=44479&amp;title=no-view-in-my-mfc#44479</guid>
  </item> 
 </channel>
</rss>