<?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 : Bolding Task Panel Iems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bolding Task Panel Iems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 16 Apr 2026 08:37:17 +0000</pubDate>
  <lastBuildDate>Wed, 17 Mar 2004 09:09:26 +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=492</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[Bolding Task Panel Iems : We must release next version within...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1369&amp;title=bolding-task-panel-iems#1369</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 17 March 2004 at 9:09am<br /><br />We must release next version within 3 weeks. Please&nbsp; wait a little.]]>
   </description>
   <pubDate>Wed, 17 Mar 2004 09:09:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1369&amp;title=bolding-task-panel-iems#1369</guid>
  </item> 
  <item>
   <title><![CDATA[Bolding Task Panel Iems : Please, can you send me that fix...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1366&amp;title=bolding-task-panel-iems#1366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=417">studioars</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 17 March 2004 at 3:34am<br /><br /><P>Please, can you send me that fix besause I have the same problem</P><P>Thanks</P>]]>
   </description>
   <pubDate>Wed, 17 Mar 2004 03:34:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1366&amp;title=bolding-task-panel-iems#1366</guid>
  </item> 
  <item>
   <title><![CDATA[Bolding Task Panel Iems : Yeah!!! It works! Thanks Oleg! ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1254&amp;title=bolding-task-panel-iems#1254</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 05 March 2004 at 9:58am<br /><br /><P><IMG src="http://forum.codejock.com/smileys/smiley4.gif" border="0">&nbsp; Yeah!!!&nbsp; It works!&nbsp; Thanks Oleg!</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Fri, 05 Mar 2004 09:58:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1254&amp;title=bolding-task-panel-iems#1254</guid>
  </item> 
  <item>
   <title><![CDATA[Bolding Task Panel Iems : Ok, agree. Isended fix to email....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1250&amp;title=bolding-task-panel-iems#1250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 05 March 2004 at 1:59am<br /><br />Ok, agree. I&nbsp;sended fix to email.]]>
   </description>
   <pubDate>Fri, 05 Mar 2004 01:59:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1250&amp;title=bolding-task-panel-iems#1250</guid>
  </item> 
  <item>
   <title><![CDATA[Bolding Task Panel Iems : By the way, as a test I modified...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1248&amp;title=bolding-task-panel-iems#1248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 04 March 2004 at 4:12pm<br /><br /><P>By the way, as a test I modified the TaskPanel sample and I get the same problem.&nbsp; The sample project is located at samples\ToolkitPro\TaskPanel.</P><P>Here's my modifications:</P><P>In the MainFrm.h file add a member variable to the CMainFrame class as follows:</P><FONT size=2><P>CXTPTaskPanelGroupItem* m_pPreviousTaskPanelItem;</P><P>Now in the MainFrm.cpp file you need to initialize the member variable in the class constructor.</P><FONT size=2><P>CMainFrame::CMainFrame()</P><P>{</P><P>m_pPreviousTaskPanelItem = NULL;</P><P>...</P><P>&nbsp;</P><P>Finally, in the Task Panel's notification handler, change the click case to look like the following:</P><FONT size=2><P>LRESULT CMainFrame::OnTaskPanelNotify(WPARAM wParam, LPARAM lParam)</P><P>{</P><P></FONT><FONT color=#0000ff size=2>&nbsp;&nbsp; switch</FONT><FONT size=2>(wParam)</P><P>&nbsp;&nbsp; {</P><P></FONT><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case</FONT><FONT size=2> XTP_TPN_CLICK:</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</P><P></FONT><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if</FONT><FONT size=2> (m_pPreviousTaskPanelItem)</P><P><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>{</P><P><FONT color=#0000ff size=2> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </FONT>m_pPreviousTaskPanelItem-&gt;SetBold(FALSE);</P><P><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>}</P><P><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>m_pPreviousTaskPanelItem = (CXTPTaskPanelGroupItem*)lParam;</P><P><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>m_pPreviousTaskPanelItem-&gt;SetBold(TRUE);</P><P><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>m_wndTaskPanel.Reposition();</P><P><FONT color=#0000ff size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>}</P><P>...</P><P>&nbsp;</P><P>Notice that all I do is unbold the previous and bold the current selection.&nbsp; When you run it make the task panel plenty wide so that width is not an issue.&nbsp; Click an item; now click another one.&nbsp; I am seeing the last word dropped.</P><P>&nbsp;</P></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 04 Mar 2004 16:12:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1248&amp;title=bolding-task-panel-iems#1248</guid>
  </item> 
  <item>
   <title><![CDATA[Bolding Task Panel Iems : No go. I added the call to Reposition()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1247&amp;title=bolding-task-panel-iems#1247</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 04 March 2004 at 3:56pm<br /><br /><P><IMG src="http://forum.codejock.com/smileys/smiley6.gif" border="0">&nbsp; No go.&nbsp; I added the call to Reposition() but it still behaves the same.&nbsp;</P><P>BTW: I streched out the width of my Task Panel window so that the width is not an issue.</P><P>I am changing views based on what Task Panel item is clicked.&nbsp; When I do I am unbolding the previous selection and bolding the new selection.&nbsp; The new selection shows up in bold but the last wordis cut off (not partially...the whole word is gone).</P><P>If I hover over the bolded item the underline (hot) text shows me the full label.</P>]]>
   </description>
   <pubDate>Thu, 04 Mar 2004 15:56:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1247&amp;title=bolding-task-panel-iems#1247</guid>
  </item> 
  <item>
   <title><![CDATA[Bolding Task Panel Iems : Try to call m_wnTaskPanel.Reposition()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1239&amp;title=bolding-task-panel-iems#1239</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 04 March 2004 at 12:44pm<br /><br />Try to call m_wnTaskPanel.Reposition() after SetBold();]]>
   </description>
   <pubDate>Thu, 04 Mar 2004 12:44:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1239&amp;title=bolding-task-panel-iems#1239</guid>
  </item> 
  <item>
   <title><![CDATA[Bolding Task Panel Iems : I created an application that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1230&amp;title=bolding-task-panel-iems#1230</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 492<br /><strong>Posted:</strong> 03 March 2004 at 1:49pm<br /><br /><P>I created an application that uses the <FONT size=2>CXTPTaskPanel.&nbsp; I studied the example from&nbsp; </FONT>...\ToolkitPro\samples\ToolkitPro\TaskPanel</P><P>My goal is to have Task Panel items turn bold when the user clicks them, so I handle the <FONT size=2></P><P>XTPWM_TASKPANEL_NOTIFY message and I unbold any previous selection and them bold the new selection.&nbsp; This technique seems to work fine....well, almost!</P><P>It appears that the size of the text is insufficient.&nbsp; Most of my Task Panel items have labels that are 2 or 3 words long.&nbsp; When an item is bolded the last word is chopped off.&nbsp; I noticed that if I define the item text (in the resources) as having a few spaced padded to the end the bolding works.&nbsp; This suggests that the GroupItem class is not properly resizing the text area for bolded items.</P><P>Any ideas how to handle this?&nbsp; Oh, I don't want to add the padded spaces since that causes the hot link text the show underlined spaces.</P><P>BTW: I'm using Windows 2000; Xtreme Toolkit Pro 8.61</P><P>&nbsp;</P></FONT>]]>
   </description>
   <pubDate>Wed, 03 Mar 2004 13:49:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=492&amp;PID=1230&amp;title=bolding-task-panel-iems#1230</guid>
  </item> 
 </channel>
</rss>