<?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 : How save checked status button state?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How save checked status button state?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 22:56:49 +0000</pubDate>
  <lastBuildDate>Fri, 05 Oct 2007 04:15:43 +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=8292</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[How save checked status button state? : Hi, CommandBar buttons show _state...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26980&amp;title=how-save-checked-status-button-state#26980</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8292<br /><strong>Posted:</strong> 05 October 2007 at 4:15am<br /><br /><DIV>Hi,</DIV><DIV>CommandBar buttons show _state of application_, </DIV><DIV>it will be bad design to save state of application in CommandBars XML. You need add variables that wil be saved/restored and update state of commandbars from this variables.</DIV>]]>
   </description>
   <pubDate>Fri, 05 Oct 2007 04:15:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26980&amp;title=how-save-checked-status-button-state#26980</guid>
  </item> 
  <item>
   <title><![CDATA[How save checked status button state? :   oleg wrote:Hello,   its designed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26917&amp;title=how-save-checked-status-button-state#26917</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3138">dimdar</a><br /><strong>Subject:</strong> 8292<br /><strong>Posted:</strong> 04 October 2007 at 6:49am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hello, <DIV>&nbsp;</DIV><DIV>its designed to not save/restore Checked/Enabled states.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>I Think this is a limit. The xml can store image but not Checked/Enable states, why don't add this in the StateOptions object? <img src="http://forum.codejock.com/smileys/smiley13.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 06:49:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26917&amp;title=how-save-checked-status-button-state#26917</guid>
  </item> 
  <item>
   <title><![CDATA[How save checked status button state? : Hello,  its designed to not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26911&amp;title=how-save-checked-status-button-state#26911</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 8292<br /><strong>Posted:</strong> 04 October 2007 at 6:25am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>its designed to not save/restore Checked/Enabled states.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 06:25:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26911&amp;title=how-save-checked-status-button-state#26911</guid>
  </item> 
  <item>
   <title><![CDATA[How save checked status button state? : Hi,  I have stupid problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26901&amp;title=how-save-checked-status-button-state#26901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3138">dimdar</a><br /><strong>Subject:</strong> 8292<br /><strong>Posted:</strong> 04 October 2007 at 4:59am<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman">Hi,<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman">I have stupid problem with command bar customization: If I check some button and I save command bar (SaveStateToXMLString method) when I reload it the checked button status was lost. I create tool bar by code the first time that my application run or if I can’t load xml file with last configuration. My application remembers correctly a new button added by user or moved but not the check state <img src="https://forum.codejock.com/smileys/smiley5.gif" border="0">. I think I have an error when I create State Options, this is my setting:<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.LoadSilent = True<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.SaveOnlyCustomized = False<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.SaveOriginalControls = True<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.SerializeDesignerControls = False<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.SerializeControls = True<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.SerializeImages = False<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.SerializeLayout = True<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>objStateOption.SerializeOptions = True<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman">Any idea?<o:p></o:p></FONT></FONT></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-GB style="mso-ansi-: EN-GB"><FONT size=3><FONT face="Times New Roman">Regards,<o:p></o:p></FONT></FONT></SPAN></P>]]>
   </description>
   <pubDate>Thu, 04 Oct 2007 04:59:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8292&amp;PID=26901&amp;title=how-save-checked-status-button-state#26901</guid>
  </item> 
 </channel>
</rss>