<?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 : Multilanguage FormView</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Multilanguage FormView]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 23:11:02 +0000</pubDate>
  <lastBuildDate>Wed, 20 Feb 2008 13:23:50 +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=9648</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[Multilanguage FormView : Hi,  Need to overrie Create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9648&amp;PID=31390&amp;title=multilanguage-formview#31390</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9648<br /><strong>Posted:</strong> 20 February 2008 at 1:23pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Need to overrie Create and add CreateDlg methods:</DIV><DIV>&nbsp;</DIV><DIV>BOOL CsamplesView::CreateDlg(LPCTSTR lpszTemplateName, CWnd* pParentWnd)<BR>{<BR>&nbsp;LPCDLGTEMPLATE lpDialogTemplate = XTPResourceManager()-&gt;LoadDialogTemplate(CsamplesView::IDD);</DIV><DIV>&nbsp;// create a modeless dialog<BR>&nbsp;BOOL bSuccess = CreateDlgIndirect(lpDialogTemplate, pParentWnd, AfxGetInstanceHandle());</DIV><DIV>&nbsp;return bSuccess;<BR>}</DIV><DIV>BOOL CsamplesView::Create(LPCTSTR /*lpszClassName*/, LPCTSTR /*lpszWindowName*/,<BR>&nbsp;DWORD dwRequestedStyle, const RECT&amp; rect, CWnd* pParentWnd, UINT nID,<BR>&nbsp;CCreateContext* pContext)<BR>{<BR>&nbsp;ASSERT(pParentWnd != NULL);<BR>&nbsp;ASSERT(m_lpszTemplateName != NULL);</DIV><DIV>&nbsp;m_pCreateContext = pContext;&nbsp;&nbsp;&nbsp; // save state for later OnCreate</DIV><DIV><BR>&nbsp;// call PreCreateWindow to get prefered extended style<BR>&nbsp;CREATESTRUCT cs; memset(&amp;cs, 0, sizeof(CREATESTRUCT));<BR>&nbsp;if (dwRequestedStyle == 0)<BR>&nbsp;&nbsp;dwRequestedStyle = AFX_WS_DEFAULT_VIEW;<BR>&nbsp;cs.style = dwRequestedStyle;<BR>&nbsp;if (!PreCreateWindow(cs))<BR>&nbsp;&nbsp;return FALSE;</DIV><DIV>&nbsp;// create a modeless dialog<BR>&nbsp;if (!CreateDlg(m_lpszTemplateName, pParentWnd))<BR>&nbsp;&nbsp;return FALSE;</DIV><DIV>&nbsp;m_pCreateContext = NULL;</DIV><DIV>&nbsp;// we use the style from the template - but make sure that<BR>&nbsp;//&nbsp; the WS_BORDER bit is correct<BR>&nbsp;// the WS_BORDER bit will be whatever is in dwRequestedStyle<BR>&nbsp;ModifyStyle(WS_BORDER|WS_CAPTION, cs.style &amp; (WS_BORDER|WS_CAPTION));<BR>&nbsp;ModifyStyleEx(WS_EX_CLIENTEDGE, cs.dwExStyle &amp; WS_EX_CLIENTEDGE);</DIV><DIV>&nbsp;SetDlgCtrlID(nID);</DIV><DIV>&nbsp;CRect rectTemplate;<BR>&nbsp;GetWindowRect(rectTemplate);<BR>&nbsp;SetScrollSizes(MM_TEXT, rectTemplate.Size());</DIV><DIV>&nbsp;// initialize controls etc<BR>&nbsp;if (!ExecuteDlgInit(m_lpszTemplateName))<BR>&nbsp;&nbsp;return FALSE;</DIV><DIV>&nbsp;// force the size requested<BR>&nbsp;SetWindowPos(NULL, rect.left, rect.top,<BR>&nbsp;&nbsp;rect.right - rect.left, rect.bottom - rect.top,<BR>&nbsp;&nbsp;SWP_NOZORDER|SWP_NOACTIVATE);</DIV><DIV>&nbsp;// make visible if requested<BR>&nbsp;if (dwRequestedStyle &amp; WS_VISIBLE)<BR>&nbsp;&nbsp;ShowWindow(SW_NORMAL);</DIV><DIV>&nbsp;return TRUE;<BR>}<BR></DIV>]]>
   </description>
   <pubDate>Wed, 20 Feb 2008 13:23:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9648&amp;PID=31390&amp;title=multilanguage-formview#31390</guid>
  </item> 
  <item>
   <title><![CDATA[Multilanguage FormView : Hi Oleg!I use XML resource file...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9648&amp;PID=31381&amp;title=multilanguage-formview#31381</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3489">aionov</a><br /><strong>Subject:</strong> 9648<br /><strong>Posted:</strong> 20 February 2008 at 10:26am<br /><br />Hi Oleg!<br>I use XML resource file throth XTPResource, for SDI application.<br>For dialogs and menus it's worked!<br>How to use this resource for the FormView?<br>Thanks!<br>]]>
   </description>
   <pubDate>Wed, 20 Feb 2008 10:26:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9648&amp;PID=31381&amp;title=multilanguage-formview#31381</guid>
  </item> 
 </channel>
</rss>