<?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 label</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Custom label]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:59:19 +0000</pubDate>
  <lastBuildDate>Fri, 06 Aug 2004 15:56: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=1015</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 label : Thanks, it works fine now!  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1015&amp;PID=2685&amp;title=custom-label#2685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=615">Woody</a><br /><strong>Subject:</strong> 1015<br /><strong>Posted:</strong> 06 August 2004 at 3:56pm<br /><br />Thanks, it works fine now!]]>
   </description>
   <pubDate>Fri, 06 Aug 2004 15:56:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1015&amp;PID=2685&amp;title=custom-label#2685</guid>
  </item> 
  <item>
   <title><![CDATA[Custom label : To add a form that contains some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1015&amp;PID=2643&amp;title=custom-label#2643</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1015<br /><strong>Posted:</strong> 04 August 2004 at 8:03am<br /><br />To add a form that contains some controls, you can do something like this:<br><br>&nbsp;&nbsp;&nbsp; Set ControlEdit = CommandBars.ActiveMenuBar.Controls.Add(xtpControlPopup, 0, "&amp;Edit", -1, False)<br>&nbsp;&nbsp;&nbsp; ControlEdit.Id = ID_EDIT<br>&nbsp;&nbsp;&nbsp; With ControlEdit.CommandBar.Controls<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim ControlSearch As CommandBarControlCustom<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim crtlSearchForm As New frmSearch<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlPopup, 0, "&amp;Search", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.Id = ID_EDIT_FIND<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set ControlSearch =Control.CommandBar.Controls.Add(xtpControlCustom, ID_SEARCH_FORM,"Search Form", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ControlSearch.Handle = crtlSearchForm.hwnd<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set Control = .Add(xtpControlButton, ID_EDIT_CUT, "Cu&amp;t", -1, False)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Control.BeginGroup = True<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_EDIT_COPY, "&amp;Copy", -1, False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Add xtpControlButton, ID_EDIT_PASTE, "&amp;Paste", -1, False<br>&nbsp;&nbsp;&nbsp; End With <br><br>Basically, you can add anything that has a hwnd.&nbsp; If the controldoes not have a hwnd, then you will have to place it on a form orinside another control that does have a hwnd.<br>]]>
   </description>
   <pubDate>Wed, 04 Aug 2004 08:03:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1015&amp;PID=2643&amp;title=custom-label#2643</guid>
  </item> 
  <item>
   <title><![CDATA[Custom label : I can&amp;#039;t find anything on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1015&amp;PID=2642&amp;title=custom-label#2642</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=615">Woody</a><br /><strong>Subject:</strong> 1015<br /><strong>Posted:</strong> 04 August 2004 at 7:57am<br /><br />I can't find anything on using the xtpControlCustom feature.<br>How can I add a custom label to a toolbar on an MDI form?<br>Thanks<br>]]>
   </description>
   <pubDate>Wed, 04 Aug 2004 07:57:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1015&amp;PID=2642&amp;title=custom-label#2642</guid>
  </item> 
 </channel>
</rss>