<?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 : Custom control on ribbon</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Custom control on ribbon]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 08:55:13 +0000</pubDate>
  <lastBuildDate>Tue, 15 Apr 2008 02:59:38 +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=10231</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[Custom control on ribbon : ControlClock.Handle = picClock.hDCthis...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10231&amp;PID=33678&amp;title=custom-control-on-ribbon#33678</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1038">younicke</a><br /><strong>Subject:</strong> 10231<br /><strong>Posted:</strong> 15 April 2008 at 2:59am<br /><br /><em>ControlClock.Handle = picClock.hDC<br><br>this should be <br>ControlClock.Handle = picClock.hWnd<br><br></em>]]>
   </description>
   <pubDate>Tue, 15 Apr 2008 02:59:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10231&amp;PID=33678&amp;title=custom-control-on-ribbon#33678</guid>
  </item> 
  <item>
   <title><![CDATA[Custom control on ribbon : Hi,  I have a ribbon bar in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10231&amp;PID=33677&amp;title=custom-control-on-ribbon#33677</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4087">cdman</a><br /><strong>Subject:</strong> 10231<br /><strong>Posted:</strong> 15 April 2008 at 2:45am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have a ribbon bar in VB6 - Active-x&nbsp;and I would like to add a large label and a shape to it. I've been reading the posts and have seen it suggested that I have to put them in a picturebox and then add the picturebox to the ribbon.</DIV><DIV>&nbsp;</DIV><DIV>So I put the label and shape into a picturebox in design mode then I declared the control:</DIV><DIV>&nbsp;</DIV><DIV><EM>Dim ControlClock As XtremeCommandBars.CommandBarControlCustom</EM></DIV><DIV>&nbsp;</DIV><DIV>then I add the control to the group:</DIV><DIV>&nbsp;</DIV><DIV><EM>Set ControlClock = GroupDocumentViews.Add(XtremeCommandBars.XTPControlType.xtpControlCustom, ID_CLOCK, "", False, False)</EM></DIV><DIV>&nbsp;</DIV><DIV>and change the control handle to equal the picturebox handle:</DIV><DIV>&nbsp;</DIV><DIV><EM>ControlClock.Handle = picClock.hDC</EM></DIV><DIV><EM></EM>&nbsp;</DIV><DIV><EM>but nothing gets added to the ribbon. I can not find an example of how to do this - just a general description of what to do.</EM></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 15 Apr 2008 02:45:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10231&amp;PID=33677&amp;title=custom-control-on-ribbon#33677</guid>
  </item> 
 </channel>
</rss>