<?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 : CXTPStatusBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPStatusBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 12 Jun 2026 00:33:22 +0000</pubDate>
  <lastBuildDate>Thu, 09 Apr 2009 03:33: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=11325</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[CXTPStatusBar : Hi,  thanks a lot, this helped!  Regards, Volker...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=47712&amp;title=cxtpstatusbar#47712</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1779">VolkerE</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 09 April 2009 at 3:33am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>thanks a lot, this helped!</DIV><DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>Volker</DIV>]]>
   </description>
   <pubDate>Thu, 09 Apr 2009 03:33:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=47712&amp;title=cxtpstatusbar#47712</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : After calling SetPaneText, call...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=47689&amp;title=cxtpstatusbar#47689</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 08 April 2009 at 11:37am<br /><br />After calling SetPaneText, call SendMessage( WM_PAINT ) to force the paint to occur in real time. Otherwise the user may not see all of the messages your are trying to set when there is no message processing between calls. For instance, if you call SetPaneText a number of times while doing extensive processing, the user will only see the last message when your processing is done and you the system returns to the message loop and starts dispatching the messages.]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 11:37:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=47689&amp;title=cxtpstatusbar#47689</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : Strange. I wonder why I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37981&amp;title=cxtpstatusbar#37981</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 08 July 2008 at 12:15pm<br /><br />Strange. I wonder why I'm not seeing the problem. I derive my statusbar class from CXTPStatusBar, and include member pointers to the panes.<br><br>Below is my code for my "doing" status pane (added using <font size="2" face="Courier New, Courier, mono">AddIndicator()</font>). It updates during long operations, such as reading a folder. Perhapsit's one of the other methods that's making it display. I also have several other indicator panes, and don't have any problems with them either.<br><br>None of my panes has an ID of zero. I think I remember reading here that CJ handles them differently.<br><br><font face="Courier New, Courier, mono">void CtpStatusBar::StatusDoing(LPCTSTR text, BOOL append)<br>{<br>&nbsp; if (m_pdoing) {<br>&nbsp;&nbsp;&nbsp; if (text &amp;&amp; text&#091;0&#093;) {<br>&nbsp; &nbsp;&nbsp;&nbsp; if (append)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_doing += text;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; m_doing = text;<br>&nbsp;&nbsp;&nbsp; &nbsp; m_pdoing-&gt;SetText(m_doing);<br>&nbsp;&nbsp;&nbsp; &nbsp; m_pdoing-&gt;SetVisible(TRUE);<br>&nbsp;&nbsp;&nbsp; } else {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_doing = _T("");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_pdoing-&gt;SetText(_T(""));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; m_pdoing-&gt;SetVisible(FALSE);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp; &nbsp; m_pdoing-&gt;BestFit();<br>&nbsp;&nbsp;&nbsp; PositionControls();<br>&nbsp; &nbsp; UpdateAllPanes(TRUE, TRUE);<br>&nbsp; }<br>}<br></font><br>m_pdoing is defined as:<br><br><font face="Courier New, Courier, mono">&nbsp; CXTPStatusBarPane* m_pdoing;</font><br><br>And it is created using:<br><br>&nbsp;&nbsp;<font face="Courier New, Courier, mono">AddIndicator(m_pdoing = new CXTPStatusBarPane(), SID_DOING, 3);<br><br></font><font face="Courier New, Courier, mono"></font><br>]]>
   </description>
   <pubDate>Tue, 08 Jul 2008 12:15:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37981&amp;title=cxtpstatusbar#37981</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : Hi Smucker,  thank you, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37970&amp;title=cxtpstatusbar#37970</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1779">VolkerE</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 08 July 2008 at 9:02am<br /><br />Hi Smucker,<DIV>&nbsp;</DIV><DIV>thank you, but this is already in my real application, where I encountered the problem. I just now tried it in the MDITextEditor sample, with no effect.</DIV><DIV>In the current 12.2.x implementation the second argument&nbsp;'bUpdateText'&nbsp;of UpdateAllPanes() is ignored, and&nbsp;the method will do nothing if the the first argument is FALSE:</DIV><DIV><BR>void CXTPStatusBar::UpdateAllPanes(BOOL bUpdateRects, BOOL /*bUpdateText*/)<BR>{<BR>&nbsp;if (bUpdateRects)<BR>&nbsp;{<BR>&nbsp;&nbsp;RecalcLayout();<BR>&nbsp;}<BR>} </DIV><DIV>&nbsp;</DIV><DIV>Thanks anyway,</DIV><DIV>Volker</DIV>]]>
   </description>
   <pubDate>Tue, 08 Jul 2008 09:02:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37970&amp;title=cxtpstatusbar#37970</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : GetStatusBar()-&amp;gt;UpdateAllPanes(TRUE,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37964&amp;title=cxtpstatusbar#37964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3717">Smucker</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 08 July 2008 at 8:32am<br /><br /><font face="Courier New, Courier, mono" size="2">GetStatusBar()-&gt;UpdateAllPanes(TRUE, TRUE);</font><br><br><font face="Courier New, Courier, mono">(FALSE, TRUE)</font> if you don't want the rectangles to be adjusted.<br>]]>
   </description>
   <pubDate>Tue, 08 Jul 2008 08:32:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37964&amp;title=cxtpstatusbar#37964</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : Hi Oleg,  I did try, but it...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37952&amp;title=cxtpstatusbar#37952</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1779">VolkerE</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 08 July 2008 at 6:54am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>I did try, but it doesn't help. SetMessageText() will also call </DIV><DIV><FONT color=#000000><FONT size=2>XTPStatusBar</FONT><FONT size=2>::</FONT></FONT><FONT color=#018001 size=2><FONT color=#000000>SetPaneText() finally,&nbsp;</FONT><FONT color=#000000>and has the same effect: the new text will not display <img src="http://forum.codejock.com/smileys/smiley6.gif" border="0" align="middle"></FONT></DIV></FONT>]]>
   </description>
   <pubDate>Tue, 08 Jul 2008 06:54:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37952&amp;title=cxtpstatusbar#37952</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : Hi,  Try  m_pMainFrame-&amp;gt...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37940&amp;title=cxtpstatusbar#37940</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 08 July 2008 at 6:35am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Try</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New">&nbsp;&nbsp;m_pMainFrame-&gt;</FONT>SetMessageText(status);</DIV><DIV>&nbsp;</DIV><DIV>instead.</DIV>]]>
   </description>
   <pubDate>Tue, 08 Jul 2008 06:35:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37940&amp;title=cxtpstatusbar#37940</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : I think the 12.0.x behaviour is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37880&amp;title=cxtpstatusbar#37880</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 07 July 2008 at 6:02am<br /><br />I think the 12.0.x behaviour is in fact correct, you should really use an onupdate handler to update status bar panes.]]>
   </description>
   <pubDate>Mon, 07 Jul 2008 06:02:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37880&amp;title=cxtpstatusbar#37880</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPStatusBar : Hello,  I made he same experience...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37878&amp;title=cxtpstatusbar#37878</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1779">VolkerE</a><br /><strong>Subject:</strong> 11325<br /><strong>Posted:</strong> 07 July 2008 at 5:52am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>I made he same experience as posted by Guybrush (<a href="https://forum.codejock.com/forum_posts.asp?TID=10432" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=10432</A>) when using CXTPStatusBar::SetPaneText().</DIV><DIV>The problem can be easily reproduced using the MDITextEditor sample:</DIV><DIV>&nbsp;</DIV><DIV>1. In MainFrm.h add a method to access the status bar member:</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;CXTPStatusBar&amp; GetStatusBar(){return ( m_wndStatusBar );};<BR></FONT></DIV><DIV>2. In CMDITextEditorApp::OnFileOpen() display the&nbsp;path of each file as it is being opened:</DIV><DIV><BR><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp;if (!ActivateExisting(csFilePath))<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;CString status;<BR>&nbsp;&nbsp;&nbsp;&nbsp;status.Format("Opening file: %s ...", csFilePath);<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_pMainFrame-&gt;GetStatusBar().SetPaneText(0, status);<BR>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;m_pDocTemplate-&gt;OpenDocumentFile(csFilePath);<BR>&nbsp;&nbsp;&nbsp;}<BR></FONT></DIV><DIV>After building this with ToolKitPro 11.2.2 select a couple of files to be opened: you will see the status bar updated for each file being opened.</DIV><DIV>Trying the same with 12.0.0 or 12.0.1 gives a different result: the status text will never be displayed, there is always the standard "Ready" status visible!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 07 Jul 2008 05:52:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11325&amp;PID=37878&amp;title=cxtpstatusbar#37878</guid>
  </item> 
 </channel>
</rss>