<?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 : Problem in task panel &#111;n the dialog.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Problem in task panel &#111;n the dialog.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 27 Apr 2026 14:20:30 +0000</pubDate>
  <lastBuildDate>Mon, 12 Dec 2005 13:09:03 +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=3367</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[Problem in task panel &#111;n the dialog. : I opened another post for my problem.....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10172&amp;title=problem-in-task-panel-on-the-dialog#10172</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1577">jigarmehtamscit</a><br /><strong>Subject:</strong> 3367<br /><strong>Posted:</strong> 12 December 2005 at 1:09pm<br /><br /><P>I opened another post for my problem.. please look at,</P><P>&nbsp;</P><P><A href="http://forum.codejock.com/forum_posts.asp?TID=3395&amp;PN=1&amp;TPN=1" target="_blank"> http://forum.codejock.com/forum_posts.asp?TID=3395&amp;PN=1& amp;TPN=1</A></P><P>Thx.. Let me know the solution..</P>]]>
   </description>
   <pubDate>Mon, 12 Dec 2005 13:09:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10172&amp;title=problem-in-task-panel-on-the-dialog#10172</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in task panel &#111;n the dialog. :    oleg wrote:Hi,  1. Window...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10115&amp;title=problem-in-task-panel-on-the-dialog#10115</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1577">jigarmehtamscit</a><br /><strong>Subject:</strong> 3367<br /><strong>Posted:</strong> 08 December 2005 at 12:38pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><p>Hi, </p><p>1. Window ņontrols can't be transparent....&nbsp; </p><p>&nbsp;</p><p>to change white color:</p><p>in void CTaskPanelDlg::UpdateColors()</p><p>replace</p><p>COLORREF clrBack = m_pItem-&gt;GetBackColor();</p><p>to</p><p>COLORREF clrBack = XTPPaintManager()-&gt;GetXtremeColor(XPCOLOR_3DFACE);</p><p>&nbsp;</p><p>also you can draw gradient in CTaskPanelDlg::OnEraseBkgnd to make it look like transparent...</p><p>XTPDrawHelpers()-&gt;GradientFill(pDC, CXTPClientRect(this), XTPColorManager()-&gt;grcCaption, FALSE);</p><p>&nbsp;</p><p>&nbsp;</p><p>2. Add Variable to CTaskPanelDlg members and map it with dialog control in </p><p>CTaskPanelDlg::DoDataExchange</p><p>3. In properties of IDD_DIALOG_MYDLG in styles tab set&nbsp;style= Child.</p><p>&nbsp;</p></td></tr></table><br><br>Hi,<br><br>1. Static text control can be transparant... cant it be ?? If I put it transparant and still it doesnt get drawn in transparant mode... can i do that ?? if yes how.. in my above sample it has three static control.. i want to make it transparant.. for combo and editbox, its ok..<br><br>The problem is, i want to give taskpanel theme support to user like user will change the theme at runtime.. if you try the sample i sent you with all different theme.. it behaves differently.. like sometimes its background gets painted with matching color and sometimes it doesnt..<br><br>Another problem is, if i have the width of the taskpanel less than that of my dialog contained in the taskpanel.. it will cut some portion of the dialog.. So, my question is is there anyway to get the width of my dialog (IDD_DIALOG_MYDLG) in the sample case...<br><br>2. Yes.. it can take the value of the variable from this method.. thx for that.<br><br>3. This works too..<br><br>Thx for the solution.. You are great..<br>]]>
   </description>
   <pubDate>Thu, 08 Dec 2005 12:38:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10115&amp;title=problem-in-task-panel-on-the-dialog#10115</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in task panel &#111;n the dialog. : Hi,Thanks for the prompt reply,I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10114&amp;title=problem-in-task-panel-on-the-dialog#10114</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1577">jigarmehtamscit</a><br /><strong>Subject:</strong> 3367<br /><strong>Posted:</strong> 08 December 2005 at 12:29pm<br /><br />Hi,<br><br>Thanks for the prompt reply,<br><br>I will check it out what you have told and will reply back over here.. But some other questions regarding the task panel are as follows,<br><br>Instead of adding control item - dialog, if I want to add a textedit box, that also painted above 50 pixels.. (The same way like dialog was painted above...!!) now, edit control doesnt have any property like child .. so, what to do if in the same taskpanel example, i want to add an editbox ??<br><br>Thx<br>]]>
   </description>
   <pubDate>Thu, 08 Dec 2005 12:29:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10114&amp;title=problem-in-task-panel-on-the-dialog#10114</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in task panel &#111;n the dialog. : Hi,  1. Window &#241;ontrols can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10112&amp;title=problem-in-task-panel-on-the-dialog#10112</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3367<br /><strong>Posted:</strong> 08 December 2005 at 12:01pm<br /><br /><P>Hi, </P><P>1. Window ņontrols can't be transparent....&nbsp; </P><P>&nbsp;</P><P>to change white color:</P><P>in void CTaskPanelDlg::UpdateColors()</P><P>replace</P><P>COLORREF clrBack = m_pItem-&gt;GetBackColor();</P><P>to</P><P>COLORREF clrBack = XTPPaintManager()-&gt;GetXtremeColor(XPCOLOR_3DFACE);</P><P>&nbsp;</P><P>also you can draw gradient in CTaskPanelDlg::OnEraseBkgnd to make it look like transparent...</P><P>XTPDrawHelpers()-&gt;GradientFill(pDC, CXTPClientRect(this), XTPColorManager()-&gt;grcCaption, FALSE);</P><P>&nbsp;</P><P>&nbsp;</P><P>2. Add Variable to CTaskPanelDlg members and map it with dialog control in </P><P>CTaskPanelDlg::DoDataExchange</P><P>3. In properties of IDD_DIALOG_MYDLG in styles tab set&nbsp;style= Child.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 08 Dec 2005 12:01:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10112&amp;title=problem-in-task-panel-on-the-dialog#10112</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in task panel &#111;n the dialog. : Hi,Please have a look at the attached...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10107&amp;title=problem-in-task-panel-on-the-dialog#10107</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1577">jigarmehtamscit</a><br /><strong>Subject:</strong> 3367<br /><strong>Posted:</strong> 08 December 2005 at 11:03am<br /><br /><br>Hi,<br><br>Please have a look at the attached sample application that i am trying to work in.. Problem <br><br>s that I expect to get solved by you are as follows..<br><br>1. I want the background color of the dialog I added as transparant.. It should not be <br><br>white.. (it looks very bad..)<br><br>2. Dialog thats shown has some controls on it.. NOw, I want to have control and value <br><br>variables for those controls in that dialog class.. now, how to access them and get value <br><br>out of them.. your sample doesnt show anything for that.. If I talk about it, i have not <br><br>created the calss for that dialog.. just created the CTaskPanel class object and craeted <br><br>the instance of that dialog.. Now, i dont have any variable defined for controls on that.. <br><br>say, currently in the sample, i dont have editbox variable.. I want to take the value of <br><br>that editbox.. so, where should i add variable (CString) for that and how to map it with <br><br>text box.. please tell me this also.. it will help me a lot..<br><br>3. My basic question.. why does that dialog being shown from 0,0 location.. i want it to be <br><br>at place.. and i can not hardcode the value in margin because i may have two more toolbar <br><br>in my application.<br><br>Awaiting for reply...<br><br><a href="uploads/jigarmehtamscit/2005-12-08_110326_Sample_Oleg.zip" target="_blank">2005-12-08_110326_Sample_Oleg.zip</a>]]>
   </description>
   <pubDate>Thu, 08 Dec 2005 11:03:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10107&amp;title=problem-in-task-panel-on-the-dialog#10107</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in task panel &#111;n the dialog. : Hello, Jigar, attach this sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10097&amp;title=problem-in-task-panel-on-the-dialog#10097</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3367<br /><strong>Posted:</strong> 08 December 2005 at 3:01am<br /><br /><P>Hello,</P><P>Jigar, attach this sample here, and I will show what you must to change.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Thu, 08 Dec 2005 03:01:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10097&amp;title=problem-in-task-panel-on-the-dialog#10097</guid>
  </item> 
  <item>
   <title><![CDATA[Problem in task panel &#111;n the dialog. : Hi,I am using Taskpanel on a dialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10079&amp;title=problem-in-task-panel-on-the-dialog#10079</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1577">jigarmehtamscit</a><br /><strong>Subject:</strong> 3367<br /><strong>Posted:</strong> 07 December 2005 at 1:43pm<br /><br />Hi,<br><br>I am using Taskpanel on a dialog with menubar and toolbar. I am adding a group to the taskpanel and start adding control on it.. Now, that controls gets added from the (0, 0) pixel of the screen where menubar and toolbar size (top 50 pixels) are not taken into consideration..<br><br>Please tell me how can I solve this problem..<br><br>If you want to regenerate the issue, please take a simple dialog, add a menubar and toolbar to it.. and then take a task panel, add a group to it and add a simple editbox to it by,<br><br>pGroup1-&gt;AddControlItem(m_EditControl);<br><br>Now, see how this editbox appears..<br><br>How to solve this ???<br>]]>
   </description>
   <pubDate>Wed, 07 Dec 2005 13:43:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3367&amp;PID=10079&amp;title=problem-in-task-panel-on-the-dialog#10079</guid>
  </item> 
 </channel>
</rss>