<?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="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : [SOLVED] Status Bar</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : [SOLVED] Status Bar</description>
  <pubDate>Thu, 11 Jun 2026 15:04:41 -700</pubDate>
  <lastBuildDate>Fri, 26 Oct 2007 17:02:50 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=513</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>[SOLVED] Status Bar : A bit helpful; however, one of...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1812#1812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 513<br /><strong>Posted:</strong> 26-Oct-2007 at 5:02pm<br /><br />A bit helpful; however, one of the biggest problems with CAB-related "introductions" is that the writer fails to tell the reader some rather&nbsp;important things.&nbsp; In the first article, Newman does not state what namespace the UIExtensionSite is in.&nbsp; Am I supposed to intuitively know this?&nbsp; I had to hunt for this myself.&nbsp; It is in the M<FONT size=2>icrosoft.Practices.CompositeUI namespace.<DIV></DIV><DIV></DIV><P>In addition, the status bar within a DevEx DF/CAB app is an XtraBar...so it only takes BarItems.&nbsp; Not a big deal...there's a bunch of 'em.&nbsp; </P><DIV>Problem.&nbsp; </DIV><P>There is no such thing as a DevExBasicControlViewPresenter, so there is no corresponding BindRowStateImage.&nbsp; Why is that bad?&nbsp; The only thing that the BindRowStateImage takes is a Windows form control.&nbsp; Sorry, Charlie...you are out of luck.&nbsp; I cannot add a DevEx control to the MainStatus site and use it with BindRowStateImage.</P><P>Off I go to figure out another way.</P><P>In case anyone is interested, here is a code snippet that shows you how to add a DexEx item to a status bar.&nbsp; This code is being run from&nbsp;a view's presenter.</P><FONT color=#2b91af size=2><P>BarStaticItem</FONT><FONT size=2> mBarItem = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#2b91af size=2>BarStaticItem</FONT><FONT size=2>();<BR></FONT><FONT size=2>mBarItem.Alignment = </FONT><FONT color=#2b91af size=2>BarItemLinkAlignment</FONT><FONT size=2>.Right;<BR>mBarItem.Caption = </FONT><FONT color=#a31515 size=2>"Some Text Here"</FONT><FONT size=2>;<BR></FONT><FONT color=#2b91af size=2>UIExtensionSite</FONT><FONT size=2> mUISite = WorkItem.RootWorkItem.UIExtensionSites&#091;</FONT><FONT color=#2b91af size=2>UIExtensionSiteNames</FONT><FONT size=2>.MainStatus&#093;;<BR></FONT><FONT size=2>mUISite.Add&lt;</FONT><FONT color=#2b91af size=2>BarStaticItem</FONT><FONT size=2>&gt;(mBarItem);</P></FONT><P>When I get around to figuring out how to get the RowStateImage showing on the status bar, I will pull this out and register the bar item much higher up.&nbsp; Then I would just call for that bar item when needed and set its properties.&nbsp; That is for another day.&nbsp; Time to go home.</FONT></P>]]>
   </description>
   <pubDate>Fri, 26 Oct 2007 17:02:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1812#1812</guid>
  </item> 
  <item>
   <title>[SOLVED] Status Bar : UIExtensionSites are one of the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1768#1768</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 513<br /><strong>Posted:</strong> 24-Oct-2007 at 11:43am<br /><br />UIExtensionSites are one of the weakest areas of CAB.&nbsp; I haven't used them much either.<DIV>&nbsp;</DIV><DIV>I found series by RichNewman that provides some introductory material on CAB.&nbsp; Relevant installments are here:</DIV><DIV>&nbsp;</DIV><DIV><a href="http://richnewman.wordpress.com/2007/10/13/introducti&#111;n-to-uiextensi&#111;nsites-introducti&#111;n-to-the-cabscsf-part-13/" target="_blank">http://richnewman.wordpress.com/2007/10/13/introduction-to-uiextensionsites-introduction-to-the-cabscsf-part-13/</A></DIV><DIV>&nbsp;</DIV><DIV>and here:</DIV><DIV>&nbsp;</DIV><DIV><a href="http://richnewman.wordpress.com/2007/10/20/more-&#111;n-uiextensi&#111;nsites-introducti&#111;n-to-cabscsf-part-14/" target="_blank">http://richnewman.wordpress.com/2007/10/20/more-on-uiextensionsites-introduction-to-cabscsf-part-14/</A></DIV><DIV>&nbsp;</DIV><DIV>Bill J.</DIV>]]>
   </description>
   <pubDate>Wed, 24 Oct 2007 11:43:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1768#1768</guid>
  </item> 
  <item>
   <title>[SOLVED] Status Bar : Just in case anyone is wondering,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1756#1756</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 513<br /><strong>Posted:</strong> 23-Oct-2007 at 4:07pm<br /><br />Just in case anyone is wondering, I did reinstall the DevExpress controls and the IDE toolbox was refilled.&nbsp; After I did that, I was made aware that there is a utility in the DevExpress installation that will repopulate the toolbox.&nbsp; Apparently, some installations of 3rd party controls can disrupt the toolbox and reset it (via devenv.exe /setup).&nbsp; I lost the IdeaBlade stuff, too, but I ran the toolbox utility that came with the install and all was well there. <DIV>&nbsp;</DIV><DIV>Now, back to the question about the status bar.&nbsp; I apologize for my ignorance, but retrieving the MainStatus object has left me a bit bewildered.&nbsp; How is this actually done?&nbsp; The syntax is escaping me.&nbsp; Here is what I am guessing it should be:</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>DevExpress.XtraEditors.</FONT><FONT color=#2b91af size=2>ImageEdit</FONT><FONT size=2> myButton = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> DevExpress.XtraEditors.</FONT><FONT color=#2b91af size=2>ImageEdit</FONT><FONT size=2>();</FONT></DIV><DIV><FONT size=2>myButton.Image = Resources.GetImage(</FONT><FONT color=#2b91af size=2>ResourceNames</FONT><FONT size=2>.RowStateUnchangedImage);</FONT></DIV><DIV><FONT size=2>WorkItem.UIExtensionSites&#091;</FONT><FONT color=#2b91af size=2>UIExtensionSiteNames</FONT><FONT size=2>.MainStatus&#093;.Add&lt;DevExpress.XtraEditors.</FONT><FONT color=#2b91af size=2>ImageEdit</FONT><FONT size=2>&gt;(myButton);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>&#091;Edit&#093;&nbsp; The addition could be any UI control.&nbsp; I just used the ImageEdit as an example.</DIV></FONT><span style="font-size:10px"><br /><br />Edited by Linguinut - 23-Oct-2007 at 4:15pm</span>]]>
   </description>
   <pubDate>Tue, 23 Oct 2007 16:07:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1756#1756</guid>
  </item> 
  <item>
   <title>[SOLVED] Status Bar : When attempting to access the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1713#1713</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 513<br /><strong>Posted:</strong> 19-Oct-2007 at 5:01pm<br /><br />When attempting to access the status bar, somehow all of my DevExpress tools have disappeared.&nbsp; Time to go home.&nbsp; I'll tackle this one tomorrow.&nbsp; If you know of a quick way to get these back, let me know.&nbsp; I will reinstall tomorrow.]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 17:01:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1713#1713</guid>
  </item> 
  <item>
   <title>[SOLVED] Status Bar : The ShellLayoutViews (DevEx and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1703#1703</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=97" rel="nofollow">Bill Jensen</a><br /><strong>Subject:</strong> 513<br /><strong>Posted:</strong> 19-Oct-2007 at 2:36pm<br /><br />The ShellLayoutViews (DevEx and DotNet) register the status bar with the root workitem under the name contained in the constant:<DIV><FONT size=2><P>UIExtensionSiteNames.MainStatus</P><DIV></DIV>Retrieve it from there and add whatever you want to it.</FONT></DIV>]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 14:36:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1703#1703</guid>
  </item> 
  <item>
   <title>[SOLVED] Status Bar : Could someone provide a quick...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1697#1697</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=24" rel="nofollow">Linguinut</a><br /><strong>Subject:</strong> 513<br /><strong>Posted:</strong> 19-Oct-2007 at 11:05am<br /><br />Could someone provide a quick reference for how to add something to the status bar?&nbsp; An example would be row state, or current user, or ip address. <span style="font-size:10px"><br /><br />Edited by Linguinut - 26-Oct-2007 at 5:08pm</span>]]>
   </description>
   <pubDate>Fri, 19 Oct 2007 11:05:53 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=513&amp;PID=1697#1697</guid>
  </item> 
 </channel>
</rss>