<?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 : MiniToolbar - Buttons Disabled</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : MiniToolbar - Buttons Disabled]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 23:35:44 +0000</pubDate>
  <lastBuildDate>Tue, 05 Aug 2008 09:50:24 +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=11705</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[MiniToolbar - Buttons Disabled : Hi,  Are you sure you create...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39468&amp;title=minitoolbar-buttons-disabled#39468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 05 August 2008 at 9:50am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Are you sure you create it and not subclass from some control from dialog?</DIV>]]>
   </description>
   <pubDate>Tue, 05 Aug 2008 09:50:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39468&amp;title=minitoolbar-buttons-disabled#39468</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled : Hi,Thanks for your responses oleg.I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39463&amp;title=minitoolbar-buttons-disabled#39463</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4159">barobax</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 05 August 2008 at 8:17am<br /><br />Hi,<br>Thanks for your responses oleg.<br>I solve problem with moving all in CMainFrame.<br>But my Overrided OnCreate does not work. WHY?!?!<br>in any inherited class from CodeJock controls have same problem.(CXTEdit,CXTPSyntaxEditCtrl)<br>]]>
   </description>
   <pubDate>Tue, 05 Aug 2008 08:17:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39463&amp;title=minitoolbar-buttons-disabled#39463</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled : Hi,  I need to see whole picture....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39440&amp;title=minitoolbar-buttons-disabled#39440</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 05 August 2008 at 1:29am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I need to see whole picture. Attach sample project, I wll help to fix it.</DIV>]]>
   </description>
   <pubDate>Tue, 05 Aug 2008 01:29:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39440&amp;title=minitoolbar-buttons-disabled#39440</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled :   Hi oleg,ON_WM_CREATE() does...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39410&amp;title=minitoolbar-buttons-disabled#39410</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4159">barobax</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 04 August 2008 at 8:18am<br /><br /><b>Hi oleg,</b><br><b>ON_WM_CREATE() does not work when I set a breakpoint in OnCreate Block. My application run without hint to breakpoint.</b><br><br>int DSyntax::OnCreate(LPCREATESTRUCT lpCreateStruct)<br>{<br>&nbsp;&nbsp;&nbsp; return CXTPSyntaxEditCtrl::OnCreate(lpCreateStruct);<br>}<br><b>in (class DEdit : public CXTEdit) is so on and my control created without call to my overrided method.<br><br>I moved handlers to CMainFrame and is like previous step and my buttons are disabled</b>.<br><b>MiniToolbar created on OnRButtonUp</b><br>void DSyntax::OnRButtonUp(UINT nFlags, CPoint point)<br>{<br>if (m_MiniToolBar)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPCommandBars* pCommandBars =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((CMainFrame*)AfxGetMainWnd())-&gt;GetCommandBars();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_MiniToolBar = CXTPMiniToolBar::CreateMiniToolBar(((CMainFrame*)AfxGetMainWnd())-&gt;GetCommandBars());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_MiniToolBar-&gt;SetWidth(22 * 3 + 4);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_US = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_US);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_UK = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_UK);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_VoiceAU = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_AU);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UINT nIDs&#091;&#093; = {IDM_US, IDM_UK, IDM_AU};<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((CMainFrame*)AfxGetMainWnd())-&gt;GetCommandBars()-&gt;GetImageManager()-&gt;SetIcons(IDB_PNG3,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nIDs, 3, CSize(16, 16));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_AU-&gt;SetEnabled(TRUE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ClientToScreen(&amp;point);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_MiniToolBar-&gt;TrackMiniBar(0, point.x, point.y + 30);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPSyntaxEditCtrl::OnRButtonUp(nFlags, point);<br>}<br><br><b>My Header file</b><br>class DSyntax : public CXTPSyntaxEditCtrl<br>{<br>private:<br>&nbsp;&nbsp;&nbsp; CXTPMiniToolBar* m_MiniToolBar;<br>&nbsp;&nbsp;&nbsp; CXTPMiniToolBar* m_MiniToolBarOptions;<br>&nbsp;&nbsp;&nbsp; CXTPControlButton* m_US;<br>&nbsp;&nbsp;&nbsp; CXTPControlButton* m_UK;<br>&nbsp;&nbsp;&nbsp; CXTPControlButton* m_AU;<br>&nbsp;&nbsp;&nbsp; CString m_SampleString;<br>&nbsp;&nbsp;&nbsp; DECLARE_MESSAGE_MAP();<br>public:<br>&nbsp;&nbsp;&nbsp; DSyntax();<br>&nbsp;&nbsp;&nbsp; ~DSyntax();<br>&nbsp;&nbsp;&nbsp; afx_msg void OnMouseMove(UINT nFlags, CPoint point);<br>&nbsp;&nbsp;&nbsp; afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);<br>&nbsp;&nbsp;&nbsp; void OnRButtonUp(UINT nFlags, CPoint point);<br><br>&nbsp;&nbsp;&nbsp; afx_msg void OnUS_Clicked();<br>&nbsp;&nbsp;&nbsp; void OnUpdateUS(CCmdUI* pCmdUI);<br>&nbsp;&nbsp;&nbsp; afx_msg void OnUK_Clicked();<br>&nbsp;&nbsp;&nbsp; void OnUpdateUK(CCmdUI* pCmdUI);<br>&nbsp;&nbsp;&nbsp; afx_msg void OnAU_Clicked();<br>&nbsp;&nbsp;&nbsp; void OnUpdateAU(CCmdUI* pCmdUI);<br>};<br>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 08:18:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39410&amp;title=minitoolbar-buttons-disabled#39410</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled : Hi,  Where do you have this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39406&amp;title=minitoolbar-buttons-disabled#39406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 04 August 2008 at 7:18am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Where do you have this DSyntax ? on dialog ?&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>ToolBars/MiniBar send messages to main site, if you don't recevie them in DSyntax, you have to move handlers to main site (your CMainFrame or main&nbsp;dialog)&nbsp;or manually forward them.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 07:18:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39406&amp;title=minitoolbar-buttons-disabled#39406</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled : Hi,BEGIN_MESSAGE_MAP(DSyntax,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39405&amp;title=minitoolbar-buttons-disabled#39405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4159">barobax</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 04 August 2008 at 6:28am<br /><br />Hi,<br>BEGIN_MESSAGE_MAP(DSyntax, CXTPSyntaxEditCtrl)<br>&nbsp;&nbsp;&nbsp; ON_COMMAND(IDM_US, DSyntax::OnUS_Clicked)<br>&nbsp;&nbsp;&nbsp; ON_UPDATE_COMMAND_UI(IDM_US, DSyntax::OnUpdateUS)<br><br>&nbsp;&nbsp;&nbsp; ON_COMMAND(IDM_UK, DSyntax::OnUK_Clicked)<br>&nbsp;&nbsp;&nbsp; ON_UPDATE_COMMAND_UI(IDM_UK, DSyntax::OnUpdateUK)<br><br>&nbsp;&nbsp;&nbsp; ON_COMMAND(IDM_AU, DSyntax::OnAU_Clicked)<br>&nbsp;&nbsp;&nbsp; ON_UPDATE_COMMAND_UI(IDM_AU, DSyntax::OnUpdateAU)<br><br>&nbsp;&nbsp;&nbsp; ON_WM_MOUSEMOVE()<br>&nbsp;&nbsp;&nbsp; ON_WM_CREATE()<br>&nbsp;&nbsp;&nbsp; ON_WM_RBUTTONUP()<br>END_MESSAGE_MAP()<br>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 06:28:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39405&amp;title=minitoolbar-buttons-disabled#39405</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled : Hi,  Check if these handlers...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39399&amp;title=minitoolbar-buttons-disabled#39399</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 04 August 2008 at 4:13am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Check if these handlers are really called. if not, you have move them to CMainFrame or to View. not sure what DSyntax is...</DIV>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 04:13:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39399&amp;title=minitoolbar-buttons-disabled#39399</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled : sorry for above linesON_COMMAND(IDM_US,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39394&amp;title=minitoolbar-buttons-disabled#39394</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4159">barobax</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 04 August 2008 at 3:37am<br /><br />sorry for above lines<br>ON_COMMAND(IDM_US, DSyntax::OnUS_Clicked)<br>ON_UPDATE_COMMAND_UI(IDM_US, DSyntax::OnUpdateUS)<br><br>ON_COMMAND(IDM_UK, DSyntax::OnUK_Clicked)<br>ON_UPDATE_COMMAND_UI(IDM_UK, DSyntax::OnUpdateUK)<br>&nbsp;&nbsp;&nbsp; <br>ON_COMMAND(IDM_AU, DSyntax::OnAU_Clicked)<br>ON_UPDATE_COMMAND_UI(IDM_AU, DSyntax::OnUpdateAU)<br><br>m_US = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_US);<br>m_UK = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_UK);<br>m_AU = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_AU);<br>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 03:37:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39394&amp;title=minitoolbar-buttons-disabled#39394</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled :  ON_COMMAND(IDM_VOICES_US, DS...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39391&amp;title=minitoolbar-buttons-disabled#39391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 04 August 2008 at 3:29am<br /><br /><DIV>&nbsp;</DIV><DIV>ON_COMMAND(<strong>IDM_VOICES_US</strong>, DSyntax::OnUS_Clicked)<BR>ON_UPDATE_COMMAND_UI(<strong>IDM_US</strong>, DSyntax::OnUpdateUS)<BR></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>have to be same.</DIV>]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 03:29:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39391&amp;title=minitoolbar-buttons-disabled#39391</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar - Buttons Disabled : Hi,my MiniToolbar Buttons are...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39379&amp;title=minitoolbar-buttons-disabled#39379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4159">barobax</a><br /><strong>Subject:</strong> 11705<br /><strong>Posted:</strong> 03 August 2008 at 8:01pm<br /><br />Hi,<br>my MiniToolbar Buttons are disabled.<br><br>ON_COMMAND(IDM_VOICES_US, DSyntax::OnUS_Clicked)<br>ON_UPDATE_COMMAND_UI(IDM_US, DSyntax::OnUpdateUS)<br><br>ON_COMMAND(IDM_VOICES_UK, DSyntax::OnUK_Clicked)<br>ON_UPDATE_COMMAND_UI(IDM_UK, DSyntax::OnUpdateUK)<br>&nbsp;&nbsp;&nbsp; <br>ON_COMMAND(IDM_VOICES_AU, DSyntax::OnAU_Clicked)<br>ON_UPDATE_COMMAND_UI(IDM_AU, DSyntax::OnUpdateAU)<br><br>m_US = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_US);<br>m_UK = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_UK);<br>m_AU = (CXTPControlButton*)m_MiniToolBar-&gt;GetControls()-&gt;Add(xtpControlButton, IDM_AU);<br>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 20:01:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11705&amp;PID=39379&amp;title=minitoolbar-buttons-disabled#39379</guid>
  </item> 
 </channel>
</rss>