<?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 : Handle event on Statusbar ???</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Handle event on Statusbar ???]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:39:37 +0000</pubDate>
  <lastBuildDate>Tue, 18 Nov 2008 03:54:47 +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=12670</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[Handle event on Statusbar ??? : Hi, Problem not in this code....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42924&amp;title=handle-event-on-statusbar#42924</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 18 November 2008 at 3:54am<br /><br />Hi,<DIV>Problem not in this code. Somewhere else. remove some parts from project and send it to <a href="mailto:support@codejock.com" target="_blank">support@codejock.com</A>.</DIV>]]>
   </description>
   <pubDate>Tue, 18 Nov 2008 03:54:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42924&amp;title=handle-event-on-statusbar#42924</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : thanks, oleg   i changed but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42915&amp;title=handle-event-on-statusbar#42915</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3828">compvis</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 17 November 2008 at 9:40pm<br /><br />thanks, oleg <DIV>&nbsp;</DIV><DIV>i changed but nothing better, the same error occurs...</DIV><DIV>&nbsp;</DIV><DIV>pls help !</DIV>]]>
   </description>
   <pubDate>Mon, 17 Nov 2008 21:40:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42915&amp;title=handle-event-on-statusbar#42915</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : Hi, You call SetButton for ID_INDICATOR_LOGO...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42894&amp;title=handle-event-on-statusbar#42894</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 17 November 2008 at 9:05am<br /><br /><P>Hi,</P><DIV>You call SetButton for ID_INDICATOR_LOGO - not for ID_INDICATOR_TIME.&nbsp; and AfxSig_v_u_p called not for WM_COMMAND - for another handler of your message map.</DIV>]]>
   </description>
   <pubDate>Mon, 17 Nov 2008 09:05:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42894&amp;title=handle-event-on-statusbar#42894</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : Oleg, help me ??? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42881&amp;title=handle-event-on-statusbar#42881</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3828">compvis</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 17 November 2008 at 12:32am<br /><br />Oleg, help me ???]]>
   </description>
   <pubDate>Mon, 17 Nov 2008 00:32:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42881&amp;title=handle-event-on-statusbar#42881</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : hi, this is my codes:  if (!m_wndStatusBar.Create(this)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42853&amp;title=handle-event-on-statusbar#42853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3828">compvis</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 13 November 2008 at 10:45pm<br /><br />hi, this is my codes:<DIV>&nbsp;</DIV><FONT color=#0000ff size=2><P>if</FONT><FONT size=2> (!m_wndStatusBar.Create(</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>) ||</P><P>!m_wndStatusBar.SetIndicators(indicators,</P><P></FONT><FONT color=#0000ff size=2>sizeof</FONT><FONT size=2>(indicators)/</FONT><FONT color=#0000ff size=2>sizeof</FONT><FONT size=2>(UINT)))</P><P>{</P><P>TRACE0(</FONT><FONT color=#800000 size=2>"Failed to create status bar\n"</FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> -1; </FONT><FONT color=#008000 size=2>// fail to create</P></FONT><FONT size=2><P>}</P><P>m_wndStatusBar.SetPaneInfo(0, ID_INDICATOR_INFO, SBPS_STRETCH, 0);</P><P></FONT><FONT color=#008000 size=2>//m_wndStatusBar.SetPaneInfo(1, ID_INDICATOR_OVEN1, SBPS_NORMAL, 100);</P></FONT><FONT size=2><P>m_wndStatusBar.SetPaneText(0,_T(</FONT><FONT color=#800000 size=2>"Kh&#7903;i t&#7841;o ch&#432;&#417;ng trình thành công !"</FONT><FONT size=2>));</P><P></FONT><FONT color=#008000 size=2>//T&#7841;o item logo trên Status bar</P></FONT><FONT size=2><P>CXTPStatusBarPane* pane = m_wndStatusBar.AddIndicator(ID_INDICATOR_LOGO, 0);</P><P>pane-&gt;SetText(_T(</FONT><FONT color=#800000 size=2>"(C) thanhly's 2008"</FONT><FONT size=2>));</P><P>pane-&gt;SetStyle(pane-&gt;GetStyle() | SBPS_POPOUT);</P><P>CXTPPaintManager::CNonClientMetrics ncm;</P><P>ncm.lfMenuFont.lfWeight = FW_HEAVY;</P><P>pane-&gt;SetTextFont(&amp;ncm.lfMenuFont);</P><P>pane-&gt;SetTextColor(GetXtremeColor(COLOR_3DHIGHLIGHT)); </FONT><FONT color=#008000 size=2>//COLOR_3DSHADOW</P></FONT><FONT size=2><P>pane-&gt;SetWidth(0); </FONT><FONT color=#008000 size=2>// Best Fit</P></FONT><FONT size=2></FONT><FONT color=#008000 size=2><FONT size=2><FONT size=2><FONT color=#000000 size=2><P>pane-&gt;SetButton(TRUE);</P></FONT></FONT><P></FONT></FONT><FONT size=2></P><DIV>m_wndStatusBar.SetRibbonDividerIndex(2);</DIV><P>m_wndStatusBar.SetPaneStyle(0, m_wndStatusBar.GetPaneStyle(0) | SBPS_NOBORDERS);</P><DIV></DIV><P>and:</P><DIV></DIV><FONT size=2><P>afx_msg </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnTime();</P></FONT><DIV>and:</DIV><FONT size=2><P>ON_COMMAND(ID_INDICATOR_TIME,OnTime)</P><DIV></DIV><DIV>and:</DIV><DIV>&nbsp;</DIV><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> Ce5ckDlg::OnTime()</P><P>{ //Do something here</P><DIV>}</DIV><DIV></DIV><P>Debug app, one exception occurs and mouse jumps to line 2160 in wincore.cpp file like below:</P><DIV>&nbsp;</DIV><FONT color=#0000ff size=2><P>case</FONT><FONT size=2> AfxSig_v_u_p:</P><P>{</P><P>CPoint point(lParam);</P><P>(</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>-&gt;*mmf.pfn_v_u_p)(</FONT><FONT color=#0000ff size=2>static_cast</FONT><FONT size=2>&lt;UINT&gt;(wParam), point);</P><P>}</P><P></FONT><strong><FONT color=#0000ff size=2>break</FONT><FONT size=2>; //--&gt;&gt;this is the mouse points</P><DIV></DIV><P>&nbsp;</P><P>thanks,</FONT></strong></FONT></FONT></FONT></P>]]>
   </description>
   <pubDate>Thu, 13 Nov 2008 22:45:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42853&amp;title=handle-event-on-statusbar#42853</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : Hi,  Show all code around pa...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42834&amp;title=handle-event-on-statusbar#42834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 13 November 2008 at 8:13am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Show all code around pane10.SetButton(TRUE);</DIV><DIV>&nbsp;</DIV><DIV>What "some exceptions" ?</DIV>]]>
   </description>
   <pubDate>Thu, 13 Nov 2008 08:13:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42834&amp;title=handle-event-on-statusbar#42834</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : thank, Oleg   I have tried but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42831&amp;title=handle-event-on-statusbar#42831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3828">compvis</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 13 November 2008 at 4:20am<br /><br />thank, Oleg <DIV>&nbsp;</DIV><DIV>I have tried but no luck</DIV><DIV>&nbsp;</DIV><DIV>my doing:</DIV><DIV>&nbsp;...</DIV><DIV>pane10.SetButton(TRUE);</DIV><DIV>....</DIV><DIV>afx_msg void OnClickPane10();</DIV><DIV>.....</DIV><DIV>ON_COMMAND(ID_PANE_10,OnClick10)</DIV><DIV>.....</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>then i have some exceptions...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 13 Nov 2008 04:20:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42831&amp;title=handle-event-on-statusbar#42831</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : Hi, Add ON_COMMAND in message...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42829&amp;title=handle-event-on-statusbar#42829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 13 November 2008 at 2:40am<br /><br />Hi,<DIV>Add ON_COMMAND in message map for StatusBar Pane's Id.</DIV>]]>
   </description>
   <pubDate>Thu, 13 Nov 2008 02:40:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42829&amp;title=handle-event-on-statusbar#42829</guid>
  </item> 
  <item>
   <title><![CDATA[Handle event on Statusbar ??? : Hi,  I have a status bar with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42825&amp;title=handle-event-on-statusbar#42825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3828">compvis</a><br /><strong>Subject:</strong> 12670<br /><strong>Posted:</strong> 12 November 2008 at 9:45pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I have a status bar with some panes ? How can i handle event when i click left-mouse on a pane of statusbar ? (with pane is a button&nbsp;one state)</DIV><DIV>&nbsp;</DIV><DIV>thanks </DIV>]]>
   </description>
   <pubDate>Wed, 12 Nov 2008 21:45:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12670&amp;PID=42825&amp;title=handle-event-on-statusbar#42825</guid>
  </item> 
 </channel>
</rss>