<?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 : Winwords Help Toolbar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Winwords Help Toolbar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:04:04 +0000</pubDate>
  <lastBuildDate>Fri, 06 Aug 2004 10:45:10 +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=1029</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[Winwords Help Toolbar : I am doing this inside of a dialog....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1029&amp;PID=2679&amp;title=winwords-help-toolbar#2679</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=675">developer</a><br /><strong>Subject:</strong> 1029<br /><strong>Posted:</strong> 06 August 2004 at 10:45am<br /><br />I am doing this inside of a dialog. It seemed to work at first but in my OnSize Event I have this code:<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />if (m_wndToolBar.GetSafeHwnd())<br />  {<br />&nbsp;&nbsp;&nbsp;&nbsp;sz = m_wndToolBar.CalcDockingLayout(cx, /*LM_HIDEWRAP|*/ LM_HORZDOCK|LM_HORZ | LM_COMMIT);<br />&nbsp;&nbsp;&nbsp;&nbsp;m_wndToolBar.MoveWindow(0, 0, cx, sz.cy);<br />&nbsp;&nbsp;&nbsp;&nbsp;m_wndToolBar.Invalidate(FALSE);<br />  }<br /></pre></td></tr></table><br /><br />As soon as the OnSize code is called, the Toolbar button moves back to its normal position. Here is the code I have in the OnCreateControl<br /><br /><table width="99%"><tr><td><pre class="BBcode"><br />if (lpCreateControl-&gt;nID == ID_MY_BTN)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CXTPControlButton* pFilter = (CXTPControlButton*)CXTPControlButton::CreateObject();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;   pFilter-&gt;SetFlags(xtpFlagManualUpdate|xtpFlagRightAlign|x tpFlagNoMovable);<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pFilter-&gt;SetStyle(xtp ButtonIconAndCaption);<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lpCreateControl-&gt;pCon trol = pFilter;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return TRUE;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /></pre></td></tr></table><br /><br />What else am I missing? I also have another post about Modeless Dlgs and KickIdle Messages. Can you check that out also. Thanks.]]>
   </description>
   <pubDate>Fri, 06 Aug 2004 10:45:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1029&amp;PID=2679&amp;title=winwords-help-toolbar#2679</guid>
  </item> 
  <item>
   <title><![CDATA[Winwords Help Toolbar : I modified the GUI_OneNote sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1029&amp;PID=2672&amp;title=winwords-help-toolbar#2672</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1029<br /><strong>Posted:</strong> 06 August 2004 at 7:07am<br /><br />I modified the GUI_OneNote sample to illustrate how to do this.<br><br>Add an popup menu item to the end of the IDR_MAINFRAME toolbar and give it a caption of "helpcombo".<br><br>Then place this code in OnCreateControl:<br><br>&nbsp;&nbsp;&nbsp; if (lpCreateControl-&gt;pMenu)<br>&nbsp;&nbsp; &nbsp;{<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;if (lpCreateControl-&gt;strCaption == "helpcombo")<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;{<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;CXTPControlComboBox* pComboSize = new CXTPControlSizeComboBox();<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pComboSize-&gt;SetDropDownListStyle();<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;pComboSize-&gt;SetFlags(xtpFlagMan ualUpdate|xtpFlagRightAlign|xtpFlagNoMovable); <br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;pComboSize-&gt;SetWidth(150);<br><br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;lpCreateControl-&gt;pControl = pComboSize;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;return TRUE;<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;}<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;<br>&nbsp;&nbsp;&nbsp; } <br>]]>
   </description>
   <pubDate>Fri, 06 Aug 2004 07:07:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1029&amp;PID=2672&amp;title=winwords-help-toolbar#2672</guid>
  </item> 
  <item>
   <title><![CDATA[Winwords Help Toolbar : Is there a way to place a Btn...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1029&amp;PID=2668&amp;title=winwords-help-toolbar#2668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=675">developer</a><br /><strong>Subject:</strong> 1029<br /><strong>Posted:</strong> 05 August 2004 at 4:43pm<br /><br />Is there a way to place a Btn or Ctrl on the right of a toolbar, similar to the Winwords Help ComboBox? Thanks]]>
   </description>
   <pubDate>Thu, 05 Aug 2004 16:43:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1029&amp;PID=2668&amp;title=winwords-help-toolbar#2668</guid>
  </item> 
 </channel>
</rss>