<?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 : Ribbons and xtpControlCustom</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Ribbons and xtpControlCustom]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 05:32:17 +0000</pubDate>
  <lastBuildDate>Mon, 18 Jan 2010 22:52:45 +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=5991</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[Ribbons and xtpControlCustom : but it does not look fine like...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=56213&amp;title=ribbons-and-xtpcontrolcustom#56213</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5812">gsl_nb</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 18 January 2010 at 10:52pm<br /><br /><strong><FONT color=#ff0000>but it does not look fine like other ribbon ctrls?</FONT></strong><DIV></DIV><strong><FONT color=#ff0000>How can i do?</FONT></strong><DIV></DIV>]]>
   </description>
   <pubDate>Mon, 18 Jan 2010 22:52:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=56213&amp;title=ribbons-and-xtpcontrolcustom#56213</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : perfection, this code now works  Cheers...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23622&amp;title=ribbons-and-xtpcontrolcustom#23622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 12 June 2007 at 7:58am<br /><br />perfection, this code now works<DIV>&nbsp;</DIV><DIV>Cheers for great support</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 12 Jun 2007 07:58:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23622&amp;title=ribbons-and-xtpcontrolcustom#23622</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : Hi,  Just tried in our sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23619&amp;title=ribbons-and-xtpcontrolcustom#23619</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 12 June 2007 at 7:27am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Just tried in our sample this code:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;CXTPControlPopup* pControlPaste = (CXTPControlPopup*)pGroupClipborad-&gt;Add(xtpControlSplitButtonPopup, ID_EDIT_PASTE);<BR>&nbsp;</DIV><DIV><BR>&nbsp;m_AddCustomDlg.Create( CAddCustomDlg::IDD, this );<BR>&nbsp;<BR>&nbsp;CXTPControlCustom* pControlCustom = CXTPControlCustom::CreateControlCustom( &amp;m_AddCustomDlg );<BR>&nbsp;<BR>&nbsp;(CXTPControlCustom*)pControlPaste-&gt;GetCommandBar()-&gt;GetControls()-&gt;Add(pControlCustom);<BR>&nbsp;<BR>Works fine.</DIV>]]>
   </description>
   <pubDate>Tue, 12 Jun 2007 07:27:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23619&amp;title=ribbons-and-xtpcontrolcustom#23619</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : Hi  Sorry typed that line wrong...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23613&amp;title=ribbons-and-xtpcontrolcustom#23613</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 12 June 2007 at 3:59am<br /><br /><P>Hi</P><DIV>&nbsp;</DIV><DIV>Sorry typed that line wrong as I actually had MAKEINTRESOURCE( CAddCustomDlg::IDD )</DIV><DIV>&nbsp;</DIV><DIV>But still nothing shows when I click popup</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 12 Jun 2007 03:59:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23613&amp;title=ribbons-and-xtpcontrolcustom#23613</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : Hi,  CAddCustomDlg::IDD is enum?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23605&amp;title=ribbons-and-xtpcontrolcustom#23605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 12 June 2007 at 2:40am<br /><br /><FONT size=2><FONT color=#010001>Hi,<DIV>&nbsp;</DIV><DIV>CAddCustomDlg</FONT>::<FONT color=#010001>IDD is enum?</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 12 Jun 2007 02:40:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23605&amp;title=ribbons-and-xtpcontrolcustom#23605</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : I get the following error when...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23591&amp;title=ribbons-and-xtpcontrolcustom#23591</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2928">terrym</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 11 June 2007 at 7:31am<br /><br /><DIV>I get the following error when I try this:<BR></DIV><DIV>Error&nbsp;1&nbsp;error C2664: 'BOOL CDialog::Create(LPCTSTR,CWnd *)' : cannot convert parameter 1 from '' to 'LPCTSTR'&nbsp;c:\users\terry\documents\visual studio 2005\projects\alphabet names\cribbonformat.cpp&nbsp;121&nbsp;<BR></DIV><DIV><FONT size=2><P></FONT><FONT color=#010001 size=2>CXTPControlPopup</FONT><FONT size=2> *</FONT><FONT color=#010001 size=2>pControlAddCustom</FONT><FONT size=2> = (</FONT><FONT color=#010001 size=2>CXTPControlPopup</FONT><FONT size=2> *)</FONT><FONT color=#010001 size=2>pRibbonGroup</FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2>Add</FONT><FONT size=2>( </FONT><FONT color=#010001 size=2>xtpControlPopup</FONT><FONT size=2>, </FONT><FONT color=#010001 size=2>ID_FORMAT_ADDCUSTOM</FONT><FONT size=2> );</P><P></FONT><FONT color=#010001 size=2>pControlAddCustom</FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2>SetBeginGroup</FONT><FONT size=2>( </FONT><FONT color=#010001 size=2>TRUE</FONT><FONT size=2> );</P><P></FONT><FONT color=#010001 size=2>m_AddCustomDlg</FONT><FONT size=2>.</FONT><FONT color=#010001 size=2>Create</FONT><FONT size=2>( </FONT><FONT color=#010001 size=2>CAddCustomDlg</FONT><FONT size=2>::</FONT><FONT color=#010001 size=2>IDD</FONT><FONT size=2>, </FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2> );</P><P></FONT><FONT color=#010001 size=2>CXTPControlCustom</FONT><FONT size=2> *</FONT><FONT color=#010001 size=2>pControlCustom</FONT><FONT size=2> = </FONT><FONT color=#010001 size=2>CXTPControlCustom</FONT><FONT size=2>::</FONT><FONT color=#010001 size=2>CreateControlCustom</FONT><FONT size=2>( &amp;</FONT><FONT color=#010001 size=2>m_AddCustomDlg</FONT><FONT size=2> );</P><P></FONT><FONT color=#010001 size=2>pRibbonGroup</FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2>Add</FONT><FONT size=2>( </FONT><FONT color=#010001 size=2>pControlCustom</FONT><FONT size=2>, 0 );</P></FONT></DIV><DIV>&nbsp;</DIV><DIV>Any ideas, cheers</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 11 Jun 2007 07:31:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=23591&amp;title=ribbons-and-xtpcontrolcustom#23591</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : Hi, When you say Catch WM_CTLCOLOR,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18901&amp;title=ribbons-and-xtpcontrolcustom#18901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2643">gibbo</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 05 January 2007 at 10:10am<br /><br />Hi,<DIV>When you say Catch WM_CTLCOLOR, sorry what am I suppose to do with it..&nbsp; Is there some functions that I can call to obtain the skin colours?</DIV><DIV>&nbsp;</DIV><DIV>Sorry if I'm being dumb..</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 10:10:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18901&amp;title=ribbons-and-xtpcontrolcustom#18901</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : Hi,  1. Add  BOOL CMyDialog::OnInitDialog()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18886&amp;title=ribbons-and-xtpcontrolcustom#18886</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 05 January 2007 at 8:59am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>1. Add</DIV><DIV>&nbsp;</DIV><DIV><BR>BOOL CMyDialog::OnInitDialog() <BR>{<BR>&nbsp;CDialog::OnInitDialog();<BR>&nbsp;<BR>&nbsp;ModifyStyle(0, WS_CLIPCHILDREN|WS_CLIPSIBLINGS);<BR>&nbsp;<BR>&nbsp;return TRUE;&nbsp; // return TRUE unless you set the focus to a control<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // EXCEPTION: OCX Property Pages should return FALSE<BR>}</DIV><DIV>&nbsp;</DIV><DIV>2. Catch WM_CTLCOLOR color.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 08:59:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18886&amp;title=ribbons-and-xtpcontrolcustom#18886</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : Thanks, Got that working   I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18863&amp;title=ribbons-and-xtpcontrolcustom#18863</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2643">gibbo</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 05 January 2007 at 3:17am<br /><br />Thanks,<DIV>Got that working <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I based the CMyDialog on a CDialog Class, I assume this was correct?</DIV><DIV>I notice a few problems:</DIV><OL><LI>When I resize the main app, which resizes the ribbon bar, the dialog is flickering</LI><LI>The Dialog doesn't seem to be applying the styles/themes colours.</LI></OL><P>Any Ideas?</P><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 03:17:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18863&amp;title=ribbons-and-xtpcontrolcustom#18863</guid>
  </item> 
  <item>
   <title><![CDATA[Ribbons and xtpControlCustom : Hi,  Create Dialog template...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18850&amp;title=ribbons-and-xtpcontrolcustom#18850</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5991<br /><strong>Posted:</strong> 05 January 2007 at 2:06am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Create Dialog template with Style - Child and Borders - None.</DIV><DIV>Create CMyDialog class based on template.</DIV><DIV>&nbsp;</DIV><DIV>Add code:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;m_wndDialog.Create(CMyDialog::IDD, this);<BR>&nbsp;CXTPControlCustom* pControlCustom = CXTPControlCustom::CreateControlCustom(&amp;m_wndDialog);<BR>&nbsp;pGroupTable-&gt;Add(pControlCustom, 0);<BR></DIV>]]>
   </description>
   <pubDate>Fri, 05 Jan 2007 02:06:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5991&amp;PID=18850&amp;title=ribbons-and-xtpcontrolcustom#18850</guid>
  </item> 
 </channel>
</rss>