<?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 : CDialog/Toolbar/Menu Problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : CDialog/Toolbar/Menu Problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 00:25:31 +0000</pubDate>
  <lastBuildDate>Wed, 10 Nov 2004 04:39:20 +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=419</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[CDialog/Toolbar/Menu Problem : For solving the sizing issue,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=3938&amp;title=cdialog-toolbar-menu-problem#3938</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=757">krulle</a><br /><strong>Subject:</strong> 419<br /><strong>Posted:</strong> 10 November 2004 at 4:39am<br /><br /><P>For solving the sizing issue, overload the OnSize event. Something like this should work:</P><FONT color=#0000ff size=1><P><FONT face="Arial, Helvetica, sans-serif">void</FONT></FONT><FONT face="Arial, Helvetica, sans-serif"><FONT size=1> CMyDlg</FONT><FONT color=#ff0000 size=1>::</FONT><FONT size=1>OnSize</FONT><FONT color=#ff0000 size=1>(</FONT><FONT size=1>UINT nType</FONT><FONT color=#ff0000 size=1>,</FONT><FONT size=1> </FONT><FONT color=#0000ff size=1>int</FONT><FONT size=1> cx</FONT><FONT color=#ff0000 size=1>,</FONT><FONT size=1> </FONT><FONT color=#0000ff size=1>int</FONT><FONT size=1> cy</FONT><FONT color=#ff0000 size=1>)</FONT><FONT size=1>&nbsp; </FONT></FONT><FONT face="Arial, Helvetica, sans-serif" color=#ff0000 size=1>{</P></FONT><FONT size=1><P></FONT><FONT face="Arial, Helvetica, sans-serif"><FONT color=#0000ff size=1>&nbsp;&nbsp;&nbsp; CDialog</FONT><FONT color=#ff0000 size=1>::</FONT><FONT size=1>OnSize</FONT><FONT color=#ff0000 size=1>(</FONT><FONT size=1>nType</FONT><FONT color=#ff0000 size=1>,</FONT><FONT size=1> cx</FONT><FONT color=#ff0000 size=1>,</FONT><FONT size=1> cy</FONT><FONT color=#ff0000 size=1>);</P></FONT></FONT><FONT size=1><P><FONT face="Arial, Helvetica, sans-serif"></FONT></P><FONT size=1><P><FONT face="Arial, Helvetica, sans-serif">&nbsp;&nbsp;&nbsp; RepositionBars</FONT></FONT><FONT face="Arial, Helvetica, sans-serif"><FONT color=#ff0000 size=1>(</FONT><FONT size=1>AFX_IDW_CONTROLBAR_FIRST</FONT><FONT color=#ff0000 size=1>,</FONT><FONT size=1> AFX_IDW_CONTROLBAR_LAST</FONT><FONT color=#ff0000 size=1>,</FONT><FONT size=1> </FONT><FONT color=#008080 size=1>0</FONT><FONT color=#ff0000 size=1>);</P></FONT></FONT></FONT><FONT face="Arial, Helvetica, sans-serif" color=#ff0000 size=1><P>}</P></FONT><span style="font-size:10px"><br /><br />Edited by krulle</span>]]>
   </description>
   <pubDate>Wed, 10 Nov 2004 04:39:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=3938&amp;title=cdialog-toolbar-menu-problem#3938</guid>
  </item> 
  <item>
   <title><![CDATA[CDialog/Toolbar/Menu Problem : Ok. I figured out the OnKickIdle...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=958&amp;title=cdialog-toolbar-menu-problem#958</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=251">JamesC</a><br /><strong>Subject:</strong> 419<br /><strong>Posted:</strong> 05 February 2004 at 1:32pm<br /><br />Ok. I figured out the OnKickIdle part that I seemed to have forgotten which fixed the highlighting issue on some of the dialogs but on others they are still messed up. The resizing issue is still there. <span style="font-size:10px"><br /><br />Edited by JamesC</span>]]>
   </description>
   <pubDate>Thu, 05 Feb 2004 13:32:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=958&amp;title=cdialog-toolbar-menu-problem#958</guid>
  </item> 
  <item>
   <title><![CDATA[CDialog/Toolbar/Menu Problem : Also my dialog is resizable and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=956&amp;title=cdialog-toolbar-menu-problem#956</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=251">JamesC</a><br /><strong>Subject:</strong> 419<br /><strong>Posted:</strong> 05 February 2004 at 12:47pm<br /><br />Also my dialog is resizable and even though both the toolbar and the menu have the flag xtpFlagStretched set they do not draw to the end when I resize the dialog. At first the dialog looks good but if you resize the dialog to anything larger then the created size, you can see the bk color of the dialog.]]>
   </description>
   <pubDate>Thu, 05 Feb 2004 12:47:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=956&amp;title=cdialog-toolbar-menu-problem#956</guid>
  </item> 
  <item>
   <title><![CDATA[CDialog/Toolbar/Menu Problem : I have a CDialog and I attached...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=955&amp;title=cdialog-toolbar-menu-problem#955</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=251">JamesC</a><br /><strong>Subject:</strong> 419<br /><strong>Posted:</strong> 05 February 2004 at 12:44pm<br /><br />I have a CDialog and I attached a toolbar and a menu to the Dialog. Both show up and everything looks good but nothing gets highlighted when I mouse over an item. In regards to the menu, when I click the menu, items do pop up and do respond to mouse clicks. In regards to the toolbar, tooltips do work when I mouse over an item and the toolbar does respond when I click on an item BUT the toolbar item remains highlighted from that point forward? I compared my code to that of the DialogSample and I can't see any difference. Any ideas? This is happening on ALL of my dialogs that contain a menu and/or toolbar. Mainframe works fine though. Problem is just on dialogs.]]>
   </description>
   <pubDate>Thu, 05 Feb 2004 12:44:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=419&amp;PID=955&amp;title=cdialog-toolbar-menu-problem#955</guid>
  </item> 
 </channel>
</rss>