<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - problem while calling DrawNow(). - Comments</title>
 <link>http://www.newlc.com/forum/problem-while-calling-drawnow</link>
 <description>Comments for &quot;problem while calling DrawNow().&quot;</description>
 <language>en</language>
<item>
 <title>Re: problem while calling DrawNow().</title>
 <link>http://www.newlc.com/forum/problem-while-calling-drawnow#comment-46248</link>
 <description>&lt;p&gt;Hi sandesh,&lt;/p&gt;

&lt;p&gt;Will you plz share some of the troubled code.. so that we can trace the exact problem... without it we can only guess the problem... and not able to give exact solution..&lt;/p&gt;

&lt;p&gt;br,&lt;br /&gt;
Pankaj&lt;/p&gt;</description>
 <pubDate>Thu, 08 May 2008 11:38:19 +0200</pubDate>
 <dc:creator>dubepankaj1980</dc:creator>
 <guid isPermaLink="false">comment 46248 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: problem while calling DrawNow().</title>
 <link>http://www.newlc.com/forum/problem-while-calling-drawnow#comment-46073</link>
 <description>&lt;p&gt;Have you called SetParent() on the CCoeControl, specifying some other control as parent?&lt;br /&gt;
If you have, you must make sure your control also is a child of that control through CountComponentControls and ComponentControl calls&lt;/p&gt;

&lt;p&gt;If you havn&#039;t used SetParent, the only way I know of that could make DrawNow fail to call Draw is a wrongly defined Draw function.&lt;br /&gt;
And I&#039;m quite familiar with the inner workings of CCoeControls...&lt;/p&gt;

&lt;p&gt;That is, if you call DrawNow directly on the control you want to redraw.&lt;/p&gt;

&lt;p&gt;If you are calling it on some parent control of the control you want to redraw, then you must make sure that the framework can find its way to the control through CountComponentControls and ComponentControl calls.&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 14:41:41 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 46073 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: problem while calling DrawNow().</title>
 <link>http://www.newlc.com/forum/problem-while-calling-drawnow#comment-46072</link>
 <description>&lt;p&gt;Thanks for reply,yes I have checked it also, Draw() method is correctly written,still it doesnt get called. &lt;br /&gt;
thanks once again.&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 14:27:52 +0200</pubDate>
 <dc:creator>sandesh</dc:creator>
 <guid isPermaLink="false">comment 46072 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: problem while calling DrawNow().</title>
 <link>http://www.newlc.com/forum/problem-while-calling-drawnow#comment-46070</link>
 <description>&lt;p&gt;my first guess is that you have declared it a bit wrong, so you have in fact not overloaded the draw function, but created a new one.&lt;/p&gt;

&lt;p&gt;make sure it really is&lt;/p&gt;

&lt;p&gt;&lt;pre class=&quot;bb-code-block&quot;&gt;
void Draw(const TRect &amp;aRect) const;
&lt;/pre&gt;&lt;/p&gt;

&lt;p&gt;and nothing else.&lt;br /&gt;
Its very common to forget the last &quot;const&quot;&lt;br /&gt;
&lt;/p&gt;</description>
 <pubDate>Tue, 29 Apr 2008 13:56:21 +0200</pubDate>
 <dc:creator>alh</dc:creator>
 <guid isPermaLink="false">comment 46070 at http://www.newlc.com</guid>
</item>
<item>
 <title>problem while calling DrawNow().</title>
 <link>http://www.newlc.com/forum/problem-while-calling-drawnow</link>
 <description>&lt;p&gt;Hi to all,&lt;br /&gt;
I am using view and using DrawNow() to draw a text, but its not calling frameworks Draw() method in which i have written my own code. Can anyone please tell why this is so...&lt;br /&gt;
Thank you&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/forum/problem-while-calling-drawnow&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/forum/problem-while-calling-drawnow#comments</comments>
 <category domain="http://www.newlc.com/forums/uiq">UIQ</category>
 <pubDate>Tue, 29 Apr 2008 13:26:45 +0200</pubDate>
 <dc:creator>sandesh</dc:creator>
 <guid isPermaLink="false">20827 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
