<?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 : How can capture MDI Tab LBUTT&#079;NDBCLK</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How can capture MDI Tab LBUTT&#079;NDBCLK]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 18 Apr 2026 21:22:48 +0000</pubDate>
  <lastBuildDate>Wed, 24 Nov 2004 00:04:56 +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=1402</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[How can capture MDI Tab LBUTT&#079;NDBCLK : If groups enabled, MDIClient has...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4122&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4122</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 24 November 2004 at 12:04am<br /><br /><P>If groups enabled, MDIClient has no CS_DBLCLICK style.</P><P>to fix it for groups add:</P><P>SetClassLong(m_MTIClientWnd.GetSafeHwnd(), GCL_STYLE, GetClassLong(m_MTIClientWnd.GetSafeHwnd(), GCL_STYLE) | CS_DBLCLKS);</P>]]>
   </description>
   <pubDate>Wed, 24 Nov 2004 00:04:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4122&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4122</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : Thanks oleg!  I solve it!  Now,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4110&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4110</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=272">zhou_wz</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 23 November 2004 at 4:50am<br /><br />Thanks oleg!<br><br>I solve&nbsp; it!<br><br>Now,&nbsp; I disable Groups Option on MTIClientWnd like this, as you said!<br><br>m_MTIClientWnd.Attach(this)// I had used m_MTIClientWnd.Attach(this, TRUE), so can't capture<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//  the double clicks on MDITab<br>Now It works!<br>And why this happens?<br>Why groups enable, The WM_LBUTTONDBCLK is missed!<br><br><br>]]>
   </description>
   <pubDate>Tue, 23 Nov 2004 04:50:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4110&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4110</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : Hmm. I think you have EnableGroups...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4089&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4089</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 22 November 2004 at 2:29am<br /><br /><P>Hmm. I think you have EnableGroups option enabled</P><P>do you have </P><P>VERIFY(m_MTIClientWnd.Attach(this));</P><P>or</P><P>VERIFY(m_MTIClientWnd.Attach(this, TRUE));</P>]]>
   </description>
   <pubDate>Mon, 22 Nov 2004 02:29:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4089&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4089</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : oleg! I failed! I did what you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4079&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=272">zhou_wz</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 20 November 2004 at 3:34am<br /><br />oleg!<br>I failed!<br>I did what you said!<br>I replaced 0-&gt;CS_DBCLKS in XTPClientWnd.cpp's Addworkspace();<br>But i must emphasized I used XTP8.7!<br>We used different version or you patch more than the only file!<br><br>]]>
   </description>
   <pubDate>Sat, 20 Nov 2004 03:34:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4079&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4079</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : Yes, I tested it.Be sure you rebuild...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4059&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4059</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 18 November 2004 at 11:30pm<br /><br />Yes, I tested it.&nbsp;Be sure you rebuild dll and _use it_ (may be you need to copy it in debug folder)]]>
   </description>
   <pubDate>Thu, 18 Nov 2004 23:30:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4059&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4059</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : Sorry Oleg, I tried as you told! But...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4056&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4056</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=272">zhou_wz</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 18 November 2004 at 6:01pm<br /><br />Sorry Oleg, I tried as you told!<br>But nothing changed!<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0"><br><br>And I checked&nbsp; MSDN, <br><span style="color: rgb(255, 0, 0);">AfxRegisterWndClass</span>(0, LoadCursor(0, IDC_ARROW)<br>if the first input parameter&nbsp; is&nbsp; NULL,&nbsp; that means&nbsp; the&nbsp; style&nbsp; is&nbsp;  <strong>CS_DBLCLKS!<br><br>Is this the solution for my question after testing?<br></strong>]]>
   </description>
   <pubDate>Thu, 18 Nov 2004 18:01:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4056&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4056</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK :  It proved that you didnt&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4049&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=272">zhou_wz</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 18 November 2004 at 7:37am<br /><br /><img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"><br>It proved that you didnt't try your solution before you replied:)<br>You are so kind:)<br>THanks a lot !<br>I'll try it<br>]]>
   </description>
   <pubDate>Thu, 18 Nov 2004 07:37:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4049&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4049</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : ok, you catch me, I didn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4029&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4029</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 16 November 2004 at 11:55pm<br /><br /><P>ok, you catch me, I didn't test it. :)</P><P>You need to patch source code to make it work. Find</P><P>AfxRegisterWndClass(0, LoadCursor(0, IDC_ARROW) in XTPTabClientWnd.cpp</P><P>and replace it to </P><P>AfxRegisterWndClass(<strong>CS_DBLCLKS</strong>, LoadCursor(0, IDC_ARROW)</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 16 Nov 2004 23:55:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4029&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4029</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : I had done that before I asked...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4024&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4024</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=272">zhou_wz</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 16 November 2004 at 7:07pm<br /><br />I had done that before I asked here!<br>Actually, I&nbsp; wrote as <br><p>LRESULT CMainFrame::OnTabbarMouseMsg(WPARAM wParam,LPARAM lParam)<br>{</p><p>if (wParam == WM_LBUTTONDBCLK)</p><p>{<br>TRACE("captured");// Never go to this line<br></p><p>return TRUE;<br>}<br></p><p>Even in your mditab sample, i just add a branch do deal WM_LBUTTONDBCLK, it doesn't work too!<br>That means WM_LBUTTONDBCLK is lost!</p><p>I try another message<span style="color: rgb(255, 0, 0);"> WM_LBUTTONDOWN</span>, it can be captured in ON_MESSAGE(WM_XTP_PRETRANSLATEMOUSEMSG, OnTabbarMouseMsg)<br></p><p>Why this happens?<br></p>Have you added&nbsp;<span style="color: rgb(255, 0, 0);"> WM_LBUTTONDBCL</span> Ksuccessfully  before your replied?<br>]]>
   </description>
   <pubDate>Tue, 16 Nov 2004 19:07:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4024&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4024</guid>
  </item> 
  <item>
   <title><![CDATA[How can capture MDI Tab LBUTT&#079;NDBCLK : ON_MESSAGE(WM_XTP_PRETRANSLATEMOUSEMSG,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4012&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4012</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1402<br /><strong>Posted:</strong> 16 November 2004 at 3:46am<br /><br /><P>ON_MESSAGE(WM_XTP_PRETRANSLATEMOUSEMSG, OnTabbarMouseMsg)</P><P>LRESULT CMainFrame::OnTabbarMouseMsg(WPARAM wParam,LPARAM lParam)<BR>{</P><P>if (wParam == WM_LBUTTONDBCLK)</P><P>{</P><P>...</P><P>return TRUE;<BR>}</P><P>return FALSE</P><P>}</P>]]>
   </description>
   <pubDate>Tue, 16 Nov 2004 03:46:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1402&amp;PID=4012&amp;title=how-can-capture-mdi-tab-lbuttondbclk#4012</guid>
  </item> 
 </channel>
</rss>