<?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 : Architecture modifications for advanced users</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Visual C++ MFC : Architecture modifications for advanced users]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 09:21:13 +0000</pubDate>
  <lastBuildDate>Wed, 09 Dec 2009 02:12:42 +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=13834</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[Architecture modifications for advanced users : I have a new one.  When you close...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=55477&amp;title=architecture-modifications-for-advanced-users#55477</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 09 December 2009 at 2:12am<br /><br />I have a new one.  When you close a message bar from the SC_CLOSE button, it should post a message to its parent, so we can tell if it's closed.  E.g. something like<br /><br />void CXTPMessageBar::Click(CXTPMessageBarButton* pButton)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (pButton-&gt;m_nID == SC_CLOSE)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SetWindowPos(NULL, 0, 0, 0, 0, SWP_NOZORDER | SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE | SWP_HIDEWINDOW);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  ::PostMessage(m_pParent-&gt;m_hWnd, WM_XTP_MESSAGEBARCLOSED, 0, 0);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pCommandBars-&gt;RecalcFrameLayout();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;m_pCommandBars-&gt;GetSite()-&gt;SendMessage(WM_COMMAND, pButton-&gt;m_nID);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br />]]>
   </description>
   <pubDate>Wed, 09 Dec 2009 02:12:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=55477&amp;title=architecture-modifications-for-advanced-users#55477</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users : void CreateMultiRowIndexer(CXTPTabManager*...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=54511&amp;title=architecture-modifications-for-advanced-users#54511</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4454">crystyce</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 03 November 2009 at 4:55am<br /><br />void CreateMultiRowIndexer(CXTPTabManager* pTabManager, CDC* pDC, int nWidth); <br />in XTPTabPaintManager should be virtual<br /><br />CXTPMarkupUIElement* m_pMarkupUIElement; in CXTPReportGroupRow should have a GetMarkupUIElement() function;<br /><br />]]>
   </description>
   <pubDate>Tue, 03 Nov 2009 04:55:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=54511&amp;title=architecture-modifications-for-advanced-users#54511</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users : What&amp;#039;s the point of deriving...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=51599&amp;title=architecture-modifications-for-advanced-users#51599</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 05 August 2009 at 8:35am<br /><br /><DIV>What's the point of deriving CXTPPropertyGridItemConstraint when you cannot use the class?</DIV><DIV>&nbsp;</DIV><DIV>CXTPPropertyGridItemConstraint* CXTPPropertyGridItemConstraints::AddConstraint(<strong>LPCTSTR str</strong>, DWORD_PTR dwData, int nImage)<BR>{<BR>&nbsp;&nbsp;&nbsp; CXTPPropertyGridItemConstraint* pConstaint = <strong>new CXTPPropertyGridItemConstraint();</strong></DIV><DIV>&nbsp;&nbsp;&nbsp; ...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>You should have another "AddConstraint" that accepts a CXTPPropertyGridItemConstraint pointer!</DIV>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 08:35:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=51599&amp;title=architecture-modifications-for-advanced-users#51599</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users : Please add GetDefaultValue() to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=51597&amp;title=architecture-modifications-for-advanced-users#51597</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1011">Barto</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 05 August 2009 at 7:07am<br /><br />Please add G<FONT color=#020002 size=2><FONT color=#020002 size=2>etDefaultValue() to </FONT></FONT><FONT color=#020002 size=2><FONT color=#020002 size=2>CXTPPropertyGridItem (counterpart to SetDefaultValue())</FONT></FONT>]]>
   </description>
   <pubDate>Wed, 05 Aug 2009 07:07:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=51597&amp;title=architecture-modifications-for-advanced-users#51597</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users :  Perhaps CXTPToolTipContext should...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=51580&amp;title=architecture-modifications-for-advanced-users#51580</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 04 August 2009 at 4:43pm<br /><br /><FONT color=#010001 size=2><FONT color=#010001 size=2><P>Perhaps CXTPToolTipContext should have a Clone()-function, so that you can easily copy tooltip-styles between controls?</P></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 04 Aug 2009 16:43:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=51580&amp;title=architecture-modifications-for-advanced-users#51580</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users :  void CXTPZipMemFile::AttachCompressedBuffer void...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50442&amp;title=architecture-modifications-for-advanced-users#50442</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 29 June 2009 at 7:13am<br /><br /><FONT color=#010001 size=2><FONT color=#010001 size=2><strong><DIV>void </strong>CXTPZipMemFile</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>AttachCompressedBuffer</DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2><strong>void </strong>CXTPZipMemFile</FONT></FONT><FONT color=#000000 size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>DetachCompressedBuffer</FONT></FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>Both these should return a <strong>BOOL</strong>! Especially the first one.</DIV></FONT></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Mon, 29 Jun 2009 07:13:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50442&amp;title=architecture-modifications-for-advanced-users#50442</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users : Please addvoid CXTPCommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50281&amp;title=architecture-modifications-for-advanced-users#50281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 25 June 2009 at 2:59am<br /><br />Please add<br><b>void CXTPCommandBars::SetCustomToolBarClass(CRuntimeClass* pToolBarClass);</b><br>not static, only for this <b>CXTPCommandBars</b>]]>
   </description>
   <pubDate>Thu, 25 Jun 2009 02:59:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50281&amp;title=architecture-modifications-for-advanced-users#50281</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users : Please addvirtual BOOL CXTPControl::OnMButtonDown(CPoint...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50280&amp;title=architecture-modifications-for-advanced-users#50280</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 25 June 2009 at 2:45am<br /><br />Please add<br><b>virtual BOOL CXTPControl::OnMButtonDown(CPoint point);<br>virtual BOOL CXTPControl::OnMButtonUp(CPoint point);<br></b><br>]]>
   </description>
   <pubDate>Thu, 25 Jun 2009 02:45:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50280&amp;title=architecture-modifications-for-advanced-users#50280</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users : I want track changes of CXTPCo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50279&amp;title=architecture-modifications-for-advanced-users#50279</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 25 June 2009 at 2:39am<br /><br />I want track changes of <b>CXTPCommandBarsOptions::bDirtyState</b><br><table width="99%"><tr><td><pre class="BBcode"><br>void CXTPCommandBars::ToggleVisible(int nIndex)<br>{<br>&nbsp;&nbsp;&nbsp; ASSERT(nIndex &gt;= 0 &amp;&amp; nIndex &lt; GetCount());<br><br>&nbsp;&nbsp;&nbsp; CXTPToolBar* pBar = GetAt(nIndex);<br>&nbsp;&nbsp;&nbsp; if (pBar)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pBar-&gt;SetVisible(!pBar-&gt;IsVisible()); <font color="#0000ff">&lt;&lt; bDirtyState changes here already</font><br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; <font color="#ff0000">m_pOptions-&gt;bDirtyState = TRUE;</font> <font color="#0000ff">&lt;&lt; unnecessary and IMHO wrong </font><br>}<br></pre></td></tr></table><br>I overload <b>CXTPToolBar::SetVisible</b> and <b>CXTPToolBar::OnLButtonDown</b> and <b>CXTPToolBar::OnNcLButtonDown</b> function to track <b>CXTPCommandBarsOptions::bDirtyState</b>, but i can't change <b>CXTPCommandBars::ToggleVisible</b> :(<br>After tracking i change <b>CXTPCommandBarsOptions::bDirtyState</b> to FALSE, but at <b>CXTPCommandBars::ToggleVisible</b> it changes to <b>TRUE</b> back :(<br>1. Add <b>virtual</b> to <b>CXTPCommandBars::ToggleVisible</b><br>2. Add <b>virtual </b><b>CXTPCommandBarsOptions::SetDirtyState<br></b>I want track<b> bDirtyState</b> to save CommandBars at the time of change (i Serialize them)]]>
   </description>
   <pubDate>Thu, 25 Jun 2009 02:39:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50279&amp;title=architecture-modifications-for-advanced-users#50279</guid>
  </item> 
  <item>
   <title><![CDATA[Architecture modifications for advanced users : CXTPImageManager.AddIconsChange void...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50260&amp;title=architecture-modifications-for-advanced-users#50260</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4605">zitz</a><br /><strong>Subject:</strong> 13834<br /><strong>Posted:</strong> 24 June 2009 at 6:22am<br /><br /><b>CXTPImageManager.AddIcons</b><br>Change<br><table width="99%"><tr><td><pre class="BBcode">void AddIcons(CXTPImageManager* pImageManager);</pre></td></tr></table><br>to<br><table width="99%"><tr><td><pre class="BBcode">void AddIcons(CXTPImageManager* pImageManager, UINT* pCommands=NULL, int nCount=0);</pre></td></tr></table><br><br>i want copy command range, not all.<br>]]>
   </description>
   <pubDate>Wed, 24 Jun 2009 06:22:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13834&amp;PID=50260&amp;title=architecture-modifications-for-advanced-users#50260</guid>
  </item> 
 </channel>
</rss>