<?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 : Limit which side to resize</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Limit which side to resize]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 05:58:08 +0000</pubDate>
  <lastBuildDate>Wed, 05 Oct 2005 00:08:18 +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=3005</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[Limit which side to resize : Thanks Oleg.  ps: bol&amp;#039;shoye...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3005&amp;PID=8970&amp;title=limit-which-side-to-resize#8970</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=854">Dmitry</a><br /><strong>Subject:</strong> 3005<br /><strong>Posted:</strong> 05 October 2005 at 12:08am<br /><br />Thanks Oleg.<br /><br />ps: bol'shoye spasibo za bystriy otvet :)]]>
   </description>
   <pubDate>Wed, 05 Oct 2005 00:08:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3005&amp;PID=8970&amp;title=limit-which-side-to-resize#8970</guid>
  </item> 
  <item>
   <title><![CDATA[Limit which side to resize : You can create class from CXTPDialogBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3005&amp;PID=8965&amp;title=limit-which-side-to-resize#8965</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3005<br /><strong>Posted:</strong> 04 October 2005 at 11:54pm<br /><br /><P>You can create class from CXTPDialogBar and catch WM_NCHITTEST:</P><P>LRESULT CResizableDialogBar::OnNcHitTest(CPoint point)</P><P>{</P><P>...<BR>}<BR></P>]]>
   </description>
   <pubDate>Tue, 04 Oct 2005 23:54:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3005&amp;PID=8965&amp;title=limit-which-side-to-resize#8965</guid>
  </item> 
  <item>
   <title><![CDATA[Limit which side to resize : Hi,  Is there a possibility to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3005&amp;PID=8961&amp;title=limit-which-side-to-resize#8961</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=854">Dmitry</a><br /><strong>Subject:</strong> 3005<br /><strong>Posted:</strong> 04 October 2005 at 11:29pm<br /><br />Hi,<br /><br />Is there a possibility to limit which side is allowed to be resized in CXTPDialogBar?<br /><br />For example, i would like to only allow vertical resizing, but not horizontal. (In both docked and floating modes.)<br /><br />If not, perhaps CXTPDialogBar::SetResizable can be enhanced to support an enum:<br /><font face="Courier New, Courier, mono"><br />enum ResizeDirection<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_NONE = 0x0000,<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // resize one side only<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_LEFT = 0x0001,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_RIGHT = 0x0002,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_TOP = 0x0004,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_BOTTOM = 0x0008,<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // resize two sides<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_HORIZONTAL = RD_LEFT | RD_RIGHT,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_VERTICAL = RD_TOP | RD_BOTTOM,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_BOTTOM_LEFT = RD_BOTTOM | RD_LEFT,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_BOTTOM_RIGHT = RD_BOTTOM | RD_RIGHT,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_TOP_LEFT = RD_TOP | RD_LEFT,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_TOP_RIGHT = RD_TOP | RD_RIGHT,<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // resize three sides<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_LEFT_TOP_RIGHT = RD_LEFT | RD_TOP | RD_RIGHT,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_LEFT_BOTTOM_RIGHT = RD_LEFT | RD_BOTTOM | RD_RIGHT,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_TOP_RIGHT_BOTTOM = RD_TOP  | RD_RIGHT | RD_BOTTOM,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_TOP_LEFT_BOTTOM = RD_TOP  | RD_LEFT | RD_BOTTOM,<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // resize everything (default)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RD_ALL = RD_LEFT | RD_RIGHT | RD_TOP | RD_BOTTOM,<br />};<br /></font><br />eg:<br /><br />void CXTPDialogBar::SetResizable (ResizeDirection rd = RD_ALL);<br /><br />Regards,<br /> Dmitry&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   ]]>
   </description>
   <pubDate>Tue, 04 Oct 2005 23:29:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3005&amp;PID=8961&amp;title=limit-which-side-to-resize#8961</guid>
  </item> 
 </channel>
</rss>