<?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 : CXTPTabControl ALT + prefix</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTabControl ALT + prefix]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 14:37:39 +0000</pubDate>
  <lastBuildDate>Fri, 13 Mar 2009 09:26:17 +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=13673</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[CXTPTabControl ALT + prefix : If I type ALT + prefix from the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46629&amp;title=cxtptabcontrol-alt-prefix#46629</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=840">sbinder</a><br /><strong>Subject:</strong> 13673<br /><strong>Posted:</strong> 13 March 2009 at 9:26am<br /><br /><P>If I type ALT + prefix from the TabControl (for Example ALT + S for TAB"<U>S</U>ystem") the OnCmdMsg will not be called! </P><DIV>If I type ALT + A for my Button (outside the TabControl - in my CDialog) "<U>A</U>bbruch" OnCmdMsg will be called </DIV><DIV>and the CDialog close as it have to do.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Mar 2009 09:26:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46629&amp;title=cxtptabcontrol-alt-prefix#46629</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabControl ALT + prefix : Not sure how dialogs do this,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46627&amp;title=cxtptabcontrol-alt-prefix#46627</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13673<br /><strong>Posted:</strong> 13 March 2009 at 9:08am<br /><br /><DIV>Not sure how dialogs do this, but you could try something like this...</DIV><DIV>&nbsp;</DIV><DIV>CYourDlg::OnCmdMsg(...)</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; if (::GetFocus() == m_tabControl.GetSafeHwnd())</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (m_tabControl.OnCmdMsg(...))</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return CDialog::OnCmdMsg(...);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>Also, read about IsDialogMessage(). That's the function responsible for ALT-translations.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Mar 2009 09:08:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46627&amp;title=cxtptabcontrol-alt-prefix#46627</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabControl ALT + prefix : Hallo! Thanks for the quick reply.I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46626&amp;title=cxtptabcontrol-alt-prefix#46626</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=840">sbinder</a><br /><strong>Subject:</strong> 13673<br /><strong>Posted:</strong> 13 March 2009 at 8:22am<br /><br />Hallo!<DIV>Thanks for the quick reply.&nbsp;I did what you told my in my modal dialog, but it doesn't work.<FONT size=2><FONT size=2>&nbsp;<img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></FONT></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>&nbsp;</DIV></FONT>]]>
   </description>
   <pubDate>Fri, 13 Mar 2009 08:22:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46626&amp;title=cxtptabcontrol-alt-prefix#46626</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabControl ALT + prefix : I suppose you need to make your...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46622&amp;title=cxtptabcontrol-alt-prefix#46622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13673<br /><strong>Posted:</strong> 13 March 2009 at 7:55am<br /><br />I suppose you need to make your own OnCmdMsg()-handler.<DIV>&nbsp;</DIV><DIV>CMainFrame::OnCmdMsg(...)</DIV><DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; if (m_tabControl.GetSafeHwnd())</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; {</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (m_tabControl.OnCmdMsg(...))</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; </DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return CFrameWnd::OnCmdMsg(...);</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>Something like that is needed to get ALT-shortcuts working in your panes/tabs etc.</DIV>]]>
   </description>
   <pubDate>Fri, 13 Mar 2009 07:55:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46622&amp;title=cxtptabcontrol-alt-prefix#46622</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabControl ALT + prefix : I am using CXTPTabControl and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46617&amp;title=cxtptabcontrol-alt-prefix#46617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=840">sbinder</a><br /><strong>Subject:</strong> 13673<br /><strong>Posted:</strong> 13 March 2009 at 7:34am<br /><br />I am using CXTPTabControl and I want to use hotkeys with ALT + prefix. I set the members<DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>tabControl</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetPaintManager</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_bDrawTextNoPrefix</FONT></FONT><FONT size=2> = </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FALSE</FONT></FONT><FONT size=2>;</DIV><DIV><DIV></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>tabControl</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetPaintManager</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_bDrawTextHidePrefix</FONT></FONT><FONT size=2> = </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FALSE</FONT></FONT><FONT size=2>;</FONT></DIV><DIV><FONT size=2>and I gave the Control the Style WS_EX_CONTROLPARENT.</FONT></DIV><DIV><FONT size=2>When I type for example ALT+S for "<U>S</U>ystem"-Tab nothing happens, but when the Tab is already selected </FONT></DIV><DIV><FONT size=2>the CXTPPropertyGrid - which is bind to the TAB -&nbsp;is focused.</FONT></DIV><DIV><FONT size=2>And is it possible to use Control + TAB to switch the TABS like in CTabCtrl or CXTTabCtrl?</FONT></DIV></DIV>]]>
   </description>
   <pubDate>Fri, 13 Mar 2009 07:34:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13673&amp;PID=46617&amp;title=cxtptabcontrol-alt-prefix#46617</guid>
  </item> 
 </channel>
</rss>