<?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 : Can we send message to a slider?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Can we send message to a slider?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 07:24:19 +0000</pubDate>
  <lastBuildDate>Fri, 25 Jul 2008 01:24:35 +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=11563</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[Can we send message to a slider? : Try this cdoe  CWnd* pParent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11563&amp;PID=38876&amp;title=can-we-send-message-to-a-slider#38876</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11563<br /><strong>Posted:</strong> 25 July 2008 at 1:24am<br /><br /><DIV>Try this cdoe</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;CWnd* pParent = pView</DIV><P>&nbsp;NMXTPSCROLL nmScroll;<BR>&nbsp;nmScroll.hdr.code = XTP_SBN_SCROLL;<BR>&nbsp;nmScroll.hdr.idFrom = GetID();<BR>&nbsp;nmScroll.hdr.hwndFrom = m_pStatusBar-&gt;GetSafeHwnd();<BR>&nbsp;nmScroll.pSender = this;<BR>&nbsp;nmScroll.nPos = pos;<BR>&nbsp;nmScroll.nSBCode = cmd;</P><P>&nbsp;LRESULT lResult = 0;<BR>&nbsp;AFX_NOTIFY notify;<BR>&nbsp;notify.pResult = &amp;lResult;<BR>&nbsp;notify.pNMHDR = (NMHDR*)&amp;nmScroll.hdr;</P><P>&nbsp;pParent-&gt;OnCmdMsg(GetID(), MAKELONG(XTP_SBN_SCROLL, WM_NOTIFY), &amp;notify, NULL);<BR></P>]]>
   </description>
   <pubDate>Fri, 25 Jul 2008 01:24:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11563&amp;PID=38876&amp;title=can-we-send-message-to-a-slider#38876</guid>
  </item> 
  <item>
   <title><![CDATA[Can we send message to a slider? : Hello, i have created one slider...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11563&amp;PID=38832&amp;title=can-we-send-message-to-a-slider#38832</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4248">vijaymahajan</a><br /><strong>Subject:</strong> 11563<br /><strong>Posted:</strong> 24 July 2008 at 8:15am<br /><br />Hello,<DIV>i have created one slider control in status bar,and handled the messages in view class as follows - </DIV><DIV><FONT size=2>ON_UPDATE_COMMAND_UI(ID_STATUSBAR_ZOOMSLIDER,OnUpdateZoomScroll)</DIV><P>ON_NOTIFY(XTP_SBN_SCROLL, ID_STATUSBAR_ZOOMSLIDER, OnZoomSliderScroll)</P><DIV></DIV><P>now,whenever i click on slider it works properly,But i have one more requirement.</P><DIV>I want to send the message from another function.</DIV><DIV>i was trying as follows - </DIV><FONT color=#0000ff size=2><P></FONT><FONT size=2>pView-&gt;SendMessage(XTP_SBN_SCROLL,ID_STATUSBAR_ZOOMSLIDER);</P><DIV>But it didnt worked.</DIV><DIV>How can i do the sendmessage,please help me.</DIV><DIV>&nbsp;</DIV><DIV>Thanks And Regards,</DIV><DIV>Vijay.</DIV><DIV></DIV><P></FONT></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 08:15:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11563&amp;PID=38832&amp;title=can-we-send-message-to-a-slider#38832</guid>
  </item> 
 </channel>
</rss>