newlc.com
Articles Only
Forum Only
Community
World-Wide Web
Home
News
Tutorials
Reviews
Downloads
Professional Services
Forums
Newsletter
Blog
About us
Last forum posts
Home
::
Forums
::
Development
::
User Interface
::
UIQ
User login
Username:
*
Password:
*
Create new account
Request new password
Featured pages
Configure your PC for Symbian development
Getting started with Symbian development
Symbian OS Error Codes
Common products UIDs
Nokia S60 SDK
Featured Software
NlMakesis
Y-Browser
Y-Tasks
Active users (last 30 days)
User
Score
rbrunner
54
eric
54
Andreas
44
sandeepmhptr
41
alh
32
more
Feeds
More feeds...
can i resize the list box ?????
Login
to reply to this topic.
Wed, 2006-03-08 11:14
Anonymous
Forum posts: 2043
hi All
actually i have to show items in a list box which change its self according to the no. of items . Is it possible to change the size of a listbox , pls suggest any solution or suggestion or code fragment ,if possible
thnx in advance
Login
or
register
to post in forums
Thu, 2006-03-09 15:02
kaisub
Joined: 2005-03-14
Forum posts: 59
Re: can i resize the list box ?????
Hej
Try SetExtent or SetSize. it works for most of controls.
/Kaisub
 
Tue, 2006-03-21 06:12
peter
Joined: 2005-12-07
Forum posts: 58
Re: can i resize the list box ?????
if you want another method you just try this method.
TRect rect=Border().InnerRect(Rect()) ;
rect.SetRect(1,0,175,70);//can give any points here....
iListBox->SetRect( rect );
Try this code in the constructor of the list box.
Cheers,
Peter.
 
Login
to reply to this topic.
Forum posts: 59
Try SetExtent or SetSize. it works for most of controls.
/Kaisub
Forum posts: 58
TRect rect=Border().InnerRect(Rect()) ;
rect.SetRect(1,0,175,70);//can give any points here....
iListBox->SetRect( rect );
Try this code in the constructor of the list box.
Cheers,
Peter.