<?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 : Call CustomizeOpti&#111;n window by code</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Call CustomizeOpti&#111;n window by code]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:59:30 +0000</pubDate>
  <lastBuildDate>Wed, 08 Sep 2004 08:29:54 +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=1158</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[Call CustomizeOpti&#111;n window by code : Thx a lot Boyd, I added.Add(xtpControlButton,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1158&amp;PID=3020&amp;title=call-customizeoption-window-by-code#3020</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=726">Bush</a><br /><strong>Subject:</strong> 1158<br /><strong>Posted:</strong> 08 September 2004 at 8:29am<br /><br /><P>Thx a lot Boyd, I added&nbsp;.Add(xtpControlButton, 35001, "Adapt...") in the frmLoad and it works. <IMG src="https://forum.codejock.com/smileys/smiley32.gif" border="0"></P>]]>
   </description>
   <pubDate>Wed, 08 Sep 2004 08:29:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1158&amp;PID=3020&amp;title=call-customizeoption-window-by-code#3020</guid>
  </item> 
  <item>
   <title><![CDATA[Call CustomizeOpti&#111;n window by code : There&amp;#039;s no straightforward...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1158&amp;PID=3019&amp;title=call-customizeoption-window-by-code#3019</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 1158<br /><strong>Posted:</strong> 08 September 2004 at 7:59am<br /><br /><P>There's no straightforward way to do this.&nbsp; My workaround is to create a dummy popup menu and then add a control to that menu that has the same ID as the 'Customize' control that appears on the built-in customize menu.&nbsp; You can then use the 'Execute' method of that control to trigger the 'Customize' dialog.&nbsp; I just&nbsp;wrapped the routine up in a&nbsp;function so that I can easily call it for any of my CommandBars instances.&nbsp; I've been using this approach without any problems whatsoever.&nbsp; Here's some sample code:</P><P>Public Function CustomizeToolbar(ByRef cb as CommandBars)<BR>&nbsp;&nbsp;&nbsp; Dim TempBar As CommandBar, Control As CommandBarControl<BR>&nbsp;&nbsp;&nbsp; If cb Is Nothing Then Exit Sub<BR>&nbsp;&nbsp;&nbsp; Set TempBar = cb.Add("Temp", xtpBarPopup)<BR>&nbsp;&nbsp;&nbsp; Set Control = TempBar.Controls.Add(xtpControlButton, 35001, "Temporary")<BR>&nbsp;&nbsp;&nbsp; Control.Execute<BR>End Function</P><P>Simply call this function and pass a reference to the CommandBars object you want to customize.&nbsp; Enjoy!!</P>]]>
   </description>
   <pubDate>Wed, 08 Sep 2004 07:59:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1158&amp;PID=3019&amp;title=call-customizeoption-window-by-code#3019</guid>
  </item> 
  <item>
   <title><![CDATA[Call CustomizeOpti&#111;n window by code : Somebody knows how to call the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1158&amp;PID=3015&amp;title=call-customizeoption-window-by-code#3015</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=726">Bush</a><br /><strong>Subject:</strong> 1158<br /><strong>Posted:</strong> 08 September 2004 at 4:17am<br /><br />Somebody knows how to call the "CustomizeOption Window" by code?]]>
   </description>
   <pubDate>Wed, 08 Sep 2004 04:17:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1158&amp;PID=3015&amp;title=call-customizeoption-window-by-code#3015</guid>
  </item> 
 </channel>
</rss>