<?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 : [Closed] Dialog Problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : [Closed] Dialog Problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 08:58:04 +0000</pubDate>
  <lastBuildDate>Mon, 18 Sep 2006 04:02:19 +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=5070</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[[Closed] Dialog Problem : Forgot RepositionBars(AFX_IDW_CONTROLBAR_FIRST,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15779&amp;title=closed-dialog-problem#15779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5070<br /><strong>Posted:</strong> 18 September 2006 at 4:02am<br /><br /><img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" align="absmiddle"><br><br>Forgot <i><b>RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);</b><br><br></i>Have 8 hero points <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><i><br></i>]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 04:02:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15779&amp;title=closed-dialog-problem#15779</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] Dialog Problem : Hi,  Did you catch WM_SIZE?  need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15777&amp;title=closed-dialog-problem#15777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5070<br /><strong>Posted:</strong> 18 September 2006 at 3:57am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Did you catch WM_SIZE?</DIV><DIV>&nbsp;</DIV><DIV>need to catch, call base method, and call</DIV><DIV>RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);<BR></DIV>]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 03:57:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15777&amp;title=closed-dialog-problem#15777</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] Dialog Problem : BTW - project is too big to send...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15773&amp;title=closed-dialog-problem#15773</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5070<br /><strong>Posted:</strong> 18 September 2006 at 3:17am<br /><br />BTW -&nbsp; project is too big to send but I can supply classes etc.]]>
   </description>
   <pubDate>Mon, 18 Sep 2006 03:17:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15773&amp;title=closed-dialog-problem#15773</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] Dialog Problem :    I have a dialog inside a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15766&amp;title=closed-dialog-problem#15766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 5070<br /><strong>Posted:</strong> 17 September 2006 at 2:49pm<br /><br />I have a dialog inside a pane, I cannot for the life of me get the toolbar to have any size - it is not displayed, GetClientRect returns 0.<br><br>From the class declaration:<br><br><br><table width="99%"><tr><td><pre class="BBcode">#define CLogbookBase CXTPDialogBase&lt;CXTResizeDialog&gt;<br><br>class CLogbookDlg : public CLogbookBase<br><br><blockquote><font face="Courier New, Courier, mono" size="2">CXTPToolBar*&nbsp;&nbsp;&nbsp; m_pToolBar;</pre></td></tr></table></font><br></blockquote><br>Here's the code in OnInitDialog, aim is to have the toolbar displayed on the left, I have tried top, everywhere!:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;<font face="Courier New, Courier, mono" size="2">&nbsp;&nbsp; //<br>&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; Initialise.<br>&nbsp;&nbsp;&nbsp; //<br>&nbsp;&nbsp;&nbsp; VERIFY(InitCommandBars());<br><br>&nbsp;&nbsp;&nbsp; //<br>&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp; Commadbars.<br>&nbsp;&nbsp;&nbsp; //<br>&nbsp;&nbsp;&nbsp; CXTPCommandBars* pCommandBars = GetCommandBars();<br><br>&nbsp;&nbsp;&nbsp; m_pToolBar = pCommandBars-&gt;Add(_T("Standard"), xtpBarLeft);<br><br>&nbsp;&nbsp;&nbsp; m_pToolBar-&gt;LoadToolBar(IDR_TOOLBAR_LOGBOOK_DLG);<br><br>&nbsp;&nbsp;&nbsp; m_pToolBar-&gt;SetVisible(TRUE);<br>&nbsp;&nbsp;&nbsp; m_pToolBar-&gt;EnableDocking(xtpFlagAlignLeft | xtpFlagHideWrap /* | xtpFlagStretched */);<br>&nbsp;&nbsp;&nbsp; m_pToolBar-&gt;ModifyBarStyle(CBRS_GRIPPER, 0);<br><br>&nbsp;&nbsp;&nbsp; if (pCommandBars-&gt;GetToolTipContext()-&gt;IsBalloonStyleSupported())<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetToolTipContext()-&gt;SetStyle(xtpToolTipBalloon);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetToolTipContext()-&gt;ShowTitleAndDescription(TRUE);<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetCommandBarsOptions()-&gt;bShowPopupBarToolTips = FALSE;<br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetCommandBarsOptions()-&gt;ShowKeyboardCues(xtpKeyboardCuesShowWindowsDefault);<br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetCommandBarsOptions()-&gt;bShowExpandButtonAlways = false;<br><br>&nbsp;&nbsp;&nbsp; RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_STATUS_BAR, 0);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; pCommandBars-&gt;RedrawCommandBars();</font><br><br></pre></td></tr></table>]]>
   </description>
   <pubDate>Sun, 17 Sep 2006 14:49:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5070&amp;PID=15766&amp;title=closed-dialog-problem#15766</guid>
  </item> 
 </channel>
</rss>