<?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 : Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt;</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt;]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:54:51 +0000</pubDate>
  <lastBuildDate>Tue, 24 Apr 2007 12:56:21 +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=6832</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[Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt; : Why CXTPNoFlickerWnd doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=22258&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#22258</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1940">BastianPL</a><br /><strong>Subject:</strong> 6832<br /><strong>Posted:</strong> 24 April 2007 at 12:56pm<br /><br />Why CXTPNoFlickerWnd doesn't work with CEdit and CCombobox etc. <DIV>&nbsp;</DIV><DIV>I have a Dialog declared n MainFrame window as CXTPNoFlickerWnd&lt;CUserDetailsDlg&gt; m_wndUserDetails-&gt; attached to pane control.</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2><P></FONT><FONT color=#008000><FONT size=1>// create user details dialog</FONT></P></FONT><P><FONT size=1><FONT color=#010001>m_dlgUserDetails</FONT>.<FONT color=#010001>Create</FONT>( <FONT color=#010001>CUserDetailsDlg</FONT>::<FONT color=#010001>IDD</FONT>, <FONT color=#0000ff>this</FONT> );</FONT></P><P><FONT size=1><FONT color=#010001>m_dlgUserDetails</FONT>.<FONT color=#010001>ShowWindow</FONT>( <FONT color=#010001>SW_SHOW</FONT> );</FONT></P><P><FONT size=1><FONT color=#010001>m_dlgUserDetails</FONT>.<FONT color=#010001>SetBackColor</FONT>(<FONT color=#010001>RGB</FONT>( <FONT color=#800000>200</FONT>, <FONT color=#800000>218</FONT>, <FONT color=#800000>250</FONT> ));</FONT></P><P><FONT color=#008000><FONT size=1>// installs docking panes</FONT></P></FONT><P><FONT size=1><FONT color=#010001>m_paneManager</FONT>.<FONT color=#010001>InstallDockingPanes</FONT>( <FONT color=#0000ff>this</FONT> );</FONT></P><P><FONT size=1><FONT color=#010001>m_paneManager</FONT>.<FONT color=#010001>SetTheme</FONT>( <FONT color=#010001>xtpPaneThemeOffice2007</FONT> );</FONT></P><P><FONT size=1><FONT color=#010001>DWORD</FONT> <FONT color=#010001>dwOptions</FONT> = <FONT color=#010001>xtpPaneNoCloseable</FONT> | <FONT color=#010001>xtpPaneNoCaption</FONT> | <FONT color=#010001>xtpPaneNoFloatable</FONT> | <FONT color=#010001>xtpPaneNoHideable</FONT>;</FONT></P><P><FONT color=#008000><FONT size=1>// Create user details pane</FONT></P></FONT><P><FONT size=1><FONT color=#010001>CXTPDockingPane</FONT> *<FONT color=#010001>pwndUserDetails</FONT> = <FONT color=#010001>m_paneManager</FONT>.<FONT color=#010001>CreatePane</FONT>( <FONT color=#010001>ID_PANE_USER_DETAILS</FONT>, <FONT color=#010001>CRect</FONT>( <FONT color=#800000>0</FONT>, <FONT color=#800000>0</FONT>,<FONT color=#800000>500</FONT>, <FONT color=#800000>500</FONT> ), <FONT color=#010001>xtpPaneDockTop</FONT> );</FONT></P><P><FONT size=1><FONT color=#010001>pwndUserDetails</FONT>-&gt;<FONT color=#010001>Attach</FONT>( &amp;<FONT color=#010001>m_dlgUserDetails</FONT> );</FONT></P><P><FONT size=1><FONT color=#010001>pwndUserDetails</FONT>-&gt;<FONT color=#010001>SetOptions</FONT>( <FONT color=#010001>dwOptions</FONT> );</FONT></P><P><FONT size=1><FONT color=#010001>pwndUserDetails</FONT>-&gt;<FONT color=#010001>SetMinTrackSize</FONT>( <FONT color=#010001>CSize</FONT>( <FONT color=#800000>150</FONT>,<FONT color=#800000>35</FONT> ) );</FONT></P><P><FONT size=1><FONT color=#010001>pwndUserDetails</FONT>-&gt;<FONT color=#010001>SetMaxTrackSize</FONT>( <FONT color=#010001>CSize</FONT>( <FONT color=#800000>300</FONT>,<FONT color=#800000>35</FONT> ) );</FONT></P><P><FONT size=1><FONT color=#010001>m_paneManager</FONT>.<FONT color=#010001>GetPaintManager</FONT>()-&gt;<FONT color=#010001>SetSplitterStyle</FONT>( <FONT color=#010001>xtpPaneSplitterGradientVert</FONT> );</FONT><FONT size=2></P></FONT></DIV><DIV>&nbsp;</DIV><DIV>In CUserDetailsDlg I habe Edit Box and COmbobox both declared:<BR><FONT size=1><FONT color=#010001>CXTPNoFlickerWnd</FONT>&lt;<FONT color=#010001>CEdit</FONT>&gt; <FONT color=#010001>m_cEdit</FONT>;<BR><FONT color=#010001>CXTPNoFlickerWnd</FONT>&lt;<FONT color=#010001>CXTFlatComboBox</FONT>&gt; <FONT color=#010001>m_cCombo</FONT>;</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>When I am resizing a MainWindow (MainFrame) controls in CUserDetailsDlg flickering.<BR><BR>Thanks</DIV></FONT><BR>]]>
   </description>
   <pubDate>Tue, 24 Apr 2007 12:56:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=22258&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#22258</guid>
  </item> 
  <item>
   <title><![CDATA[Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt; : Hi, Open designer, select this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21845&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21845</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6832<br /><strong>Posted:</strong> 11 April 2007 at 10:59am<br /><br />Hi,<DIV>Open designer, select this IDC_SENDER_EMAIL and add resize it more.</DIV><DIV>&nbsp;</DIV><DIV>You set bold font - it requare more width to fit whole string.</DIV>]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 10:59:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21845&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21845</guid>
  </item> 
  <item>
   <title><![CDATA[Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt; : Hi Oleg,Label ID is IDC_SENDER_EMAIL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21838&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21838</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2689">aimslife</a><br /><strong>Subject:</strong> 6832<br /><strong>Posted:</strong> 11 April 2007 at 10:26am<br /><br />Hi Oleg,<br><br>Label ID is IDC_SENDER_EMAIL and I call SetResize function for resize label and following line use for resizing my label and width problem will not come for showing text..<br><br>SetResize(IDC_SENDER_EMAIL, SZ_TOP_LEFT, SZ_BOTTOM_RIGHT);<br><br>I am calling this function in my CPenalView class(Its base class CXTSearchOptionsView) function OnInitialUpdate.<br><br>will width problem come??<br>]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 10:26:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21838&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21838</guid>
  </item> 
  <item>
   <title><![CDATA[Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt; : Hi,  I bet you will see same...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21827&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6832<br /><strong>Posted:</strong> 11 April 2007 at 5:38am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I bet you will see same if you will use simple CStatic instead. Problem can be only because size of static not enough to show whole string. </DIV><DIV>Add more width.</DIV>]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 05:38:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21827&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21827</guid>
  </item> 
  <item>
   <title><![CDATA[Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt; : I found following code in WM_PAINT...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21822&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21822</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2689">aimslife</a><br /><strong>Subject:</strong> 6832<br /><strong>Posted:</strong> 11 April 2007 at 3:57am<br /><br />I found following code in WM_PAINT message in xtpdrawhelpers.h file, but I am not found any reason of truncate of string in following code.<br><br>CRect rc;<br>GetClientRect(&amp;rc);<br><br>CXTPBufferDC memDC(dc.GetSafeHdc(), rc);<br>memDC.FillSolidRect(rc, m_crBack);<br><br>return TBase::DefWindowProc(WM_PAINT,<br>&nbsp;&nbsp; &nbsp;(WPARAM)memDC.m_hDC, 0);<br><br>is it possible, the problem in TBase::DefWindowProc function?]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 03:57:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21822&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21822</guid>
  </item> 
  <item>
   <title><![CDATA[Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt; : Hi, you can check CXTPNoFlickerWnd...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21802&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21802</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6832<br /><strong>Posted:</strong> 10 April 2007 at 2:49pm<br /><br /><DIV>Hi,</DIV><DIV>you can check CXTPNoFlickerWnd&nbsp; sources - all it do is call base WM_PAINT method. Just don't use it, if it doesn't work with STATIC.</DIV>]]>
   </description>
   <pubDate>Tue, 10 Apr 2007 14:49:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21802&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21802</guid>
  </item> 
  <item>
   <title><![CDATA[Abnormal Behavior of CXTPNoFlickerWnd &lt;CStatic&gt; : Hi,I made SDI base application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21801&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21801</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2689">aimslife</a><br /><strong>Subject:</strong> 6832<br /><strong>Posted:</strong> 10 April 2007 at 12:25pm<br /><br />Hi,<br><br>I made SDI base application which looks like "SearchOptions" example. I placed one label on panel area and bind with CXTPNoFlickerWnd &lt;CStatic&gt; class and call SetFont function for Bold label and passing parameter &amp;XTAuxData().fontBold. It is working fine in case of no space in text... but it makes problem if any string-set which has space in it e.g "aims life&lt;aimslife@gmail.com&gt;" try to set on it then its shows "aims" only in label and if I replace space with any character then its work fine. Please guide me what should i do to solve this solution??<br><br>]]>
   </description>
   <pubDate>Tue, 10 Apr 2007 12:25:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6832&amp;PID=21801&amp;title=abnormal-behavior-of-cxtpnoflickerwnd-cstatic#21801</guid>
  </item> 
 </channel>
</rss>