<?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 : Office 2007 skin + SIF_DISABLENOSCROLL</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Office 2007 skin + SIF_DISABLENOSCROLL]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 17:45:52 +0000</pubDate>
  <lastBuildDate>Sun, 09 Dec 2007 00:15:11 +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=9031</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[Office 2007 skin + SIF_DISABLENOSCROLL : I added that right after ScreenToFrame(&amp;amp;point);It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29281&amp;title=office-2007-skin-sif-disablenoscroll#29281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9031<br /><strong>Posted:</strong> 09 December 2007 at 12:15am<br /><br />I added that right after ScreenToFrame(&amp;point);<br>It works, but there is a slight graphical glitch, in that if you hover over a scrollbar and then move the mouse to the resize box, the scrollbar still is drawn as if it is hovered over. You can then move the mouse over top the other scrollbar and get both scrollbars drawn as if they are being hovered over.<br>]]>
   </description>
   <pubDate>Sun, 09 Dec 2007 00:15:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29281&amp;title=office-2007-skin-sif-disablenoscroll#29281</guid>
  </item> 
  <item>
   <title><![CDATA[Office 2007 skin + SIF_DISABLENOSCROLL : You are right about NC handling...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29274&amp;title=office-2007-skin-sif-disablenoscroll#29274</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9031<br /><strong>Posted:</strong> 08 December 2007 at 2:16pm<br /><br />You are right about NC handling of resize box.<DIV>&nbsp;</DIV><DIV>Please add in CXTPSkinObjectFrame::HandleNcHitTest method this code:</DIV><DIV>&nbsp;</DIV>&nbsp;DWORD dwStyle = GetStyle();<BR><DIV>&nbsp;</DIV><DIV>&nbsp;if ((dwStyle &amp; WS_VSCROLL) &amp;&amp; m_spi&#091;SB_VERT&#093;.fVisible &amp;&amp; (dwStyle &amp; WS_HSCROLL) &amp;&amp; m_spi&#091;SB_HORZ&#093;.fVisible &amp;&amp; IsSizeBox())<BR>&nbsp;{<BR>&nbsp;&nbsp;CRect rcSizeGripper(m_spi&#091;SB_HORZ&#093;.rc.right, m_spi&#091;SB_VERT&#093;.rc.bottom,<BR>&nbsp;&nbsp;&nbsp;m_spi&#091;SB_VERT&#093;.rc.right, m_spi&#091;SB_HORZ&#093;.rc.bottom);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (rcSizeGripper.PtInRect(point))<BR>&nbsp;&nbsp;&nbsp;return GetExStyle() &amp; WS_EX_LAYOUTRTL ? HTBOTTOMLEFT : HTBOTTOMRIGHT;<BR>&nbsp;}&nbsp;&nbsp;<BR></DIV>]]>
   </description>
   <pubDate>Sat, 08 Dec 2007 14:16:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29274&amp;title=office-2007-skin-sif-disablenoscroll#29274</guid>
  </item> 
  <item>
   <title><![CDATA[Office 2007 skin + SIF_DISABLENOSCROLL : Ok thanks, that work-around lets...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29270&amp;title=office-2007-skin-sif-disablenoscroll#29270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9031<br /><strong>Posted:</strong> 08 December 2007 at 11:30am<br /><br />Ok thanks, that work-around lets me disable the scrollbar, I have to adjust a bunch of spots to have a special case to set page to 1 instead, but that works now.<br><br>What about the resize corner area in mdi child windows?<br>]]>
   </description>
   <pubDate>Sat, 08 Dec 2007 11:30:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29270&amp;title=office-2007-skin-sif-disablenoscroll#29270</guid>
  </item> 
  <item>
   <title><![CDATA[Office 2007 skin + SIF_DISABLENOSCROLL : Hi,  There is no API to determine...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29262&amp;title=office-2007-skin-sif-disablenoscroll#29262</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9031<br /><strong>Posted:</strong> 08 December 2007 at 2:55am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>There is no API to determine if SIF_DISABLENOSCROLL was set.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Use this code to disable scrollbars for both System and SkinFramework:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;SCROLLINFO si;<BR>&nbsp;si.cbSize = sizeof(SCROLLINFO);<BR>&nbsp;si.fMask = SIF_POS|SIF_PAGE|SIF_RANGE|SIF_DISABLENOSCROLL;<BR><strong>&nbsp;si.nPage = 1;</strong><BR>&nbsp;si.nMin = 0;<BR>&nbsp;si.nMax = 0;<BR>&nbsp;si.nPos = 0;<BR>&nbsp;SetScrollInfo(SB_HORZ, &amp;si);<BR></DIV>]]>
   </description>
   <pubDate>Sat, 08 Dec 2007 02:55:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29262&amp;title=office-2007-skin-sif-disablenoscroll#29262</guid>
  </item> 
  <item>
   <title><![CDATA[Office 2007 skin + SIF_DISABLENOSCROLL : To add to this problem, why is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29241&amp;title=office-2007-skin-sif-disablenoscroll#29241</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9031<br /><strong>Posted:</strong> 07 December 2007 at 12:34pm<br /><br />To add to this problem, why is it that with Office 2007 skin, the scrollbar's background is drawn differently for the same CView depending on if it is in a docking pane or regular CMDIChildWnd frame.<br><img src="uploads/20071207_123155_2007scrollbars.png" height="89" width="194" border="0"><br><br>And also, the drag area in the lower right corner of the window is not clickable or dragable and does not even give the upper-left to lower-right arrows mouse cursor when you hover over it. If I go back to regular skin and Office 2003 command bars, the scrollbars are both drawn the same, and the drag area in the corner works exactly as expected.<br><br>]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 12:34:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29241&amp;title=office-2007-skin-sif-disablenoscroll#29241</guid>
  </item> 
  <item>
   <title><![CDATA[Office 2007 skin + SIF_DISABLENOSCROLL : I have a CView derived view with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29232&amp;title=office-2007-skin-sif-disablenoscroll#29232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 9031<br /><strong>Posted:</strong> 07 December 2007 at 2:09am<br /><br /><br>I have a CView derived view with EnableScrollBar(SB_HORZ); in OnInitialUpdate() and it gains WS_HSCROLL in PreCreateWindow(). It exists in a docking pane and is created by it's own CFrameWnd class. If I call:<br>SCROLLINFO si;<br>si.cbSize = sizeof(SCROLLINFO);<br>si.fMask = SIF_POS|SIF_PAGE|SIF_RANGE|SIF_DISABLENOSCROLL;<br>si.nPage = 0;<br>si.nMin = 0;<br>si.nMax = 0;<br>si.nPos = 0;<br>SetScrollInfo(SB_HORZ, &amp;si);<br><br>The scrollbar is still enabled but the thumb is not really movable. When using Office 2003/XP/2000/etc styles instead of the skin framework, the scrollbar is disabled like it should be.<br>Bug in the skin framework?<br><br>]]>
   </description>
   <pubDate>Fri, 07 Dec 2007 02:09:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9031&amp;PID=29232&amp;title=office-2007-skin-sif-disablenoscroll#29232</guid>
  </item> 
 </channel>
</rss>