<?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 : Accelerators within a dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Accelerators within a dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 20:26:21 +0000</pubDate>
  <lastBuildDate>Wed, 29 Jun 2005 23:46:57 +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=2476</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[Accelerators within a dialog : bevpet, thank you, but this is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2476&amp;PID=7376&amp;title=accelerators-within-a-dialog#7376</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=807">Uwe Keim</a><br /><strong>Subject:</strong> 2476<br /><strong>Posted:</strong> 29 June 2005 at 11:46pm<br /><br /><P><SPAN =bold>bevpet, thank you, but this is from the example as I'm already doing.</SPAN></P>]]>
   </description>
   <pubDate>Wed, 29 Jun 2005 23:46:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2476&amp;PID=7376&amp;title=accelerators-within-a-dialog#7376</guid>
  </item> 
  <item>
   <title><![CDATA[Accelerators within a dialog : try this declare oin .h HACCEL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2476&amp;PID=7366&amp;title=accelerators-within-a-dialog#7366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1081">bevpet</a><br /><strong>Subject:</strong> 2476<br /><strong>Posted:</strong> 29 June 2005 at 2:56pm<br /><br /><P><FONT face="Arial, Helvetica, sans-serif" size=1>try this</FONT></P><P><FONT face=Arial size=1>declare oin .h</FONT></P><P><FONT face=Arial size=1>HACCEL m_hAccel;</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>add your your dlg.cpp:</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>CMyDlg::CMyDlg()</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>: CDialog(CMyDlg::IDD, 0)</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>{</FONT></P><P><FONT color=#008000><FONT face="Arial, Helvetica, sans-serif" size=1>//{{AFX_DATA_INIT(CMyDlg)</FONT></FONT></P><P><FONT color=#008000><FONT face=Arial size=1>...</FONT></FONT></P><P><FONT color=#008000><FONT face=Arial size=1>...</FONT></P></FONT><P><FONT face="Arial, Helvetica, sans-serif" size=1>m_hAccel = ::LoadAccelerators(AfxGetInstanceHandle(),</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>MAKEINTRESOURCE(IDR_MY_DLG_ACCELERATORS));</FONT></P><P><FONT face=Arial size=1>...</FONT></P><P><FONT face="Arial, Helvetica, sans-serif" size=1>}</FONT></P><P><FONT face=Arial size=1>where:</FONT></P><P><FONT face=Arial size=1>IDR_MY_DLG_ACCELERATORS = your accelerator table you wish to associate with the dlg.</FONT></P><P><FONT face=Arial size=1>HTH</FONT></P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 29 Jun 2005 14:56:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2476&amp;PID=7366&amp;title=accelerators-within-a-dialog#7366</guid>
  </item> 
  <item>
   <title><![CDATA[Accelerators within a dialog : Scenario: A SDI application, having...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2476&amp;PID=7337&amp;title=accelerators-within-a-dialog#7337</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=807">Uwe Keim</a><br /><strong>Subject:</strong> 2476<br /><strong>Posted:</strong> 29 June 2005 at 4:33am<br /><br /><P>Scenario: A SDI application, having several modal dialog boxes with local CodeJock menubars, toolbars, statusbars.</P><P>No I want to add <EM>accelerators</EM> to the menu items in the dialog.</P><P>I managed to do it the way I found it in the "DialogSample" in the "%PROGRAM_FILES\Codejock Software\MFC\Xtreme Toolkit Pro v9.60\Samples\CommandBars\DialogSample" folder.</P><P>What I am missing: In the main window of my SDI application, the CodeJock library <EM>automatically </EM>writes the actual shortcuts beside the menu items. Whereas in the "DialogSample" application they are hardcoded in the <FONT face="Courier New, Courier, mono" color=#990000>IDR_MAINFRAME</FONT> resource.</P><P><strong>Question:</strong> Is it possible to "tell" a menubar which accelerator-resource to use and let the menubar do all the accelerator-handling (include writing to the menu items and command routing) from within a child dialog box?</P><P>Thanks<BR>Uwe</P>]]>
   </description>
   <pubDate>Wed, 29 Jun 2005 04:33:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2476&amp;PID=7337&amp;title=accelerators-within-a-dialog#7337</guid>
  </item> 
 </channel>
</rss>