<?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 : Show/Hide toolbar... it disappear :(</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Show/Hide toolbar... it disappear :(]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 00:34:34 +0000</pubDate>
  <lastBuildDate>Tue, 14 Apr 2009 03:47:36 +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=14004</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[Show/Hide toolbar... it disappear :( : I&amp;#039;ve 2 toolbars, vertical...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14004&amp;PID=47851&amp;title=show-hide-toolbar-it-disappear#47851</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4670">Calabala</a><br /><strong>Subject:</strong> 14004<br /><strong>Posted:</strong> 14 April 2009 at 3:47am<br /><br /><P><FONT color=#9933cc size=3 face="Times New Roman, Times, serif">I've 2 toolbars, vertical &amp; horizontal.</P><DIV></DIV>according to certain condition I&nbsp;show one of them &amp; hide the other, else I do vice versa<DIV>The problem is :</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The moment of toggling between the 2 cases, both of them disappear <img src="https://forum.codejock.com/smileys/smiley19.gif" border="0">&nbsp; &amp; I don't know whyyyyyyyyyy</DIV><DIV>The thing which make me mad that when I debug, I find that it works exactly as I want</DIV><DIV>i.e. when the condition of being vertical is acheived, it sets the vertical toolbar "Show" &amp; the horizontal one "Hide"</DIV><DIV>But although that, both of them disappear</DIV><DIV>&nbsp;</DIV><FONT color=#010001 size=2><FONT color=#010001 size=2><FONT color=#010001 size=2><FONT color=#010001 size=2><P>CXTPToolBar</FONT></FONT><FONT color=#000000 size=2>* </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT color=#000000 size=2> = (</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CXTPToolBar</FONT></FONT><FONT color=#000000 size=2>*)</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pCommandBars</FONT></FONT><FONT color=#000000 size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetToolBar</FONT></FONT><FONT color=#000000 size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>IDR_VERT_PLAY_STOP_SLIDER_TOOLBAR</FONT></FONT><FONT size=2><FONT color=#000000>); </FONT></P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SetVisible</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>TRUE</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>ShowWindow</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SW_SHOW</FONT></FONT><FONT size=2>);</FONT><P><FONT size=2></P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Invalidate</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>TRUE</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>UpdateWindow</FONT></FONT><FONT size=2>();</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OnRecalcLayout</FONT></FONT><FONT size=2>();</P><P></P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2> = (</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CXTPToolBar</FONT></FONT><FONT size=2>*)</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pCommandBars</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetToolBar</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>IDR_HORZ_PLAY_STOP_SLIDER_TOOLBAR</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SetVisible</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FALSE</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>ShowWindow</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SW_HIDE</FONT></FONT><FONT size=2>);</FONT><P><FONT size=2></FONT><FONT color=#008000 size=2><FONT color=#008000 size=2></P></FONT></FONT><FONT size=2></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Invalidate</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>TRUE</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>UpdateWindow</FONT></FONT><FONT size=2>();</P><P></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>pToolBar</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OnRecalcLayout</FONT></FONT><FONT size=2>();</P><DIV></FONT></FONT></FONT>Plzzzzzzzzzzzzzzzzz any help...</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks in advance</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; calabala</DIV></FONT>]]>
   </description>
   <pubDate>Tue, 14 Apr 2009 03:47:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14004&amp;PID=47851&amp;title=show-hide-toolbar-it-disappear#47851</guid>
  </item> 
 </channel>
</rss>