<?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 - &amp;quot;Constructing Listbox from Resource&amp;quot;- problem - Comments</title>
 <link>http://www.newlc.com/en/topic-17544</link>
 <description>Comments for &quot;&quot;Constructing Listbox from Resource&quot;- problem&quot;</description>
 <language>en</language>
<item>
 <title>Re: &quot;Constructing Listbox from Resource&quot;- problem</title>
 <link>http://www.newlc.com/en/topic-17544#comment-37299</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I am deriving my contaner class from CCoeControl and appui class from CAknAppUi so how can i use&lt;br /&gt;&amp;quot; iAvkonAppUi-&amp;gt;AddToStackL(iListBox);&amp;quot; ?&lt;/div&gt;</description>
 <pubDate>Thu, 08 Feb 2007 12:33:07 +0100</pubDate>
 <dc:creator>ss_tm</dc:creator>
 <guid isPermaLink="false">comment 37299 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: &quot;Constructing Listbox from Resource&quot;- problem</title>
 <link>http://www.newlc.com/en/topic-17544#comment-37298</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;for me this works fine:&lt;br /&gt;&lt;br /&gt;iListBox = new( ELeave ) CAknSingleStyleListBox();&lt;br /&gt;iListBox-&amp;gt;ConstructL( this, EAknListBoxSelectionList);&lt;br /&gt;iListBox-&amp;gt;CreateScrollBarFrameL(ETrue);&lt;br /&gt;&lt;br /&gt;//add the items to the list&lt;br /&gt;&lt;br /&gt;iAvkonAppUi-&amp;gt;AddToStackL(iListBox);&lt;br /&gt;&lt;br /&gt;iListBox-&amp;gt;ActivateL();&lt;br /&gt;iListBox-&amp;gt;DrawNow();&lt;br /&gt;SetRect(aRect);&lt;br /&gt;ActivateL();&lt;br /&gt;//no need to call SizeChanged&lt;/div&gt;</description>
 <pubDate>Wed, 07 Feb 2007 12:16:42 +0100</pubDate>
 <dc:creator>max_i</dc:creator>
 <guid isPermaLink="false">comment 37298 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: &quot;Constructing Listbox from Resource&quot;- problem</title>
 <link>http://www.newlc.com/en/topic-17544#comment-37297</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I have already implemented SizeChanged() and used SetExtent( TPoint(0,0), list-&amp;gt;MinimumSize())&lt;br /&gt;but now i m getting run-time error...&amp;quot;App-Closed &amp;quot;.&lt;br /&gt;hav been strugling over frm quite sum time but no luck &lt;img src=&quot;/fr/sites/all/modules/smf_filter/smf_smileys/sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 07 Feb 2007 11:37:07 +0100</pubDate>
 <dc:creator>ss_tm</dc:creator>
 <guid isPermaLink="false">comment 37297 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: &quot;Constructing Listbox from Resource&quot;- problem</title>
 <link>http://www.newlc.com/en/topic-17544#comment-37296</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Put SetEXtent in your SizeChanged function&amp;nbsp; &lt;br /&gt;&lt;br /&gt;eg:&lt;br /&gt;&lt;br /&gt;void Csh_listAppView::SizeChanged()&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&amp;nbsp; &lt;br /&gt;&amp;nbsp; &amp;nbsp; list-&amp;gt;SetExtent (TPoint(0,0), list-&amp;gt;MinimumSize());&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;/div&gt;</description>
 <pubDate>Wed, 07 Feb 2007 07:22:04 +0100</pubDate>
 <dc:creator>max_i</dc:creator>
 <guid isPermaLink="false">comment 37296 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: &quot;Constructing Listbox from Resource&quot;- problem</title>
 <link>http://www.newlc.com/en/topic-17544#comment-37295</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I am not doing anything in SizeChanged().i&amp;#039;l try to implement it now but i did try this also:&lt;br /&gt;&lt;br /&gt;list-&amp;gt;SetRect(aRect);&lt;br /&gt;&lt;br /&gt;do v need to specify certain size as well?&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Wed, 07 Feb 2007 06:13:02 +0100</pubDate>
 <dc:creator>ss_tm</dc:creator>
 <guid isPermaLink="false">comment 37295 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: &quot;Constructing Listbox from Resource&quot;- problem</title>
 <link>http://www.newlc.com/en/topic-17544#comment-37294</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;What are you doing in the SizeChanged Method ? Are you calling SetRect on list box. You have to set the list box size before it becomes visible.&lt;/div&gt;</description>
 <pubDate>Tue, 06 Feb 2007 15:13:02 +0100</pubDate>
 <dc:creator>Girish Sharma</dc:creator>
 <guid isPermaLink="false">comment 37294 at http://www.newlc.com</guid>
</item>
<item>
 <title>&quot;Constructing Listbox from Resource&quot;- problem</title>
 <link>http://www.newlc.com/en/topic-17544</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/topic-17544&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-17544#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Tue, 06 Feb 2007 11:14:23 +0100</pubDate>
 <dc:creator>ss_tm</dc:creator>
 <guid isPermaLink="false">17068 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
