<?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 : EnableFrameTheme() Access Violation</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : EnableFrameTheme() Access Violation]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 10:03:42 +0000</pubDate>
  <lastBuildDate>Fri, 25 Mar 2011 06:10:48 +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=18115</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[EnableFrameTheme() Access Violation : Hi Many thanks for the reply ....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18115&amp;PID=63546&amp;title=enableframetheme-access-violation#63546</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6702">ganeshbabu.cv</a><br /><strong>Subject:</strong> 18115<br /><strong>Posted:</strong> 25 March 2011 at 6:10am<br /><br />Hi Many thanks for the reply . . .I had set the style here is snapshot from OnCreate ()<br><br>int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)<br>{<br>&nbsp;&nbsp;&nbsp; if (CFrameWnd::OnCreate(lpCreateStruct) == -1)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; XTPPaintManager()-&gt;SetTheme(xtpThemeRibbon);<br><br>&nbsp;&nbsp;&nbsp; if (!CreateStatusBar())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;<br><br>&nbsp;&nbsp;&nbsp; if (!InitCommandBars())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;<br><br>//Create ribbon bars<br>}<br>]]>
   </description>
   <pubDate>Fri, 25 Mar 2011 06:10:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18115&amp;PID=63546&amp;title=enableframetheme-access-violation#63546</guid>
  </item> 
  <item>
   <title><![CDATA[EnableFrameTheme() Access Violation : Hi,As this assert suggest, you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18115&amp;PID=63545&amp;title=enableframetheme-access-violation#63545</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18115<br /><strong>Posted:</strong> 25 March 2011 at 6:09am<br /><br />Hi,<div><br></div><div>As this assert suggest, you need set&nbsp;<span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">xtpThemeRibbon before you call this method.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div>]]>
   </description>
   <pubDate>Fri, 25 Mar 2011 06:09:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18115&amp;PID=63545&amp;title=enableframetheme-access-violation#63545</guid>
  </item> 
  <item>
   <title><![CDATA[EnableFrameTheme() Access Violation : Hi,I am using VS2005 and Codejock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18115&amp;PID=63526&amp;title=enableframetheme-access-violation#63526</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6702">ganeshbabu.cv</a><br /><strong>Subject:</strong> 18115<br /><strong>Posted:</strong> 24 March 2011 at 7:31am<br /><br />Hi,<br>I am using VS2005 and Codejock 11.02 version. When I create a ribbonbar I get an access violation when call is made to pRibbonBar-&gt;EnableFrameTheme(); function. <br><br>Any help would be appreciated.<br><br>Further I get ASSERT violations in XTPRibbonBar.cpp at line 273. <br><br>CXTPRibbonTheme* CXTPRibbonBar::GetRibbonPaintManager() const<br>{<br>&nbsp;&nbsp;&nbsp; CXTPPaintManager* pPaintManager = GetPaintManager();<br>&nbsp;&nbsp;&nbsp; ASSERT(pPaintManager-&gt;BaseTheme() == xtpThemeRibbon);<br><br>&nbsp;&nbsp;&nbsp; return (CXTPRibbonTheme*)pPaintManager;<br>}<br><br>Please help me in fixing this issue.<br><br>Thanks in advance.<br><br><br>]]>
   </description>
   <pubDate>Thu, 24 Mar 2011 07:31:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18115&amp;PID=63526&amp;title=enableframetheme-access-violation#63526</guid>
  </item> 
 </channel>
</rss>