You Are Here:

Community: Blogs

Lucian Tomuta's Forum Nokia Blog

Do a little more with the UI Designer

ltomuta | 31 January, 2009 19:00


Can you create some menu items like these?
 
End-result
 
Of course you can. But can you do it with Carbide.c++' UI Designer? Cool
 
Unfortunately the UI Designer does not let you control a menu item's flag so you cannot design menus with either radio group or check (tick) features. Not that big of a problem since you can still write the code to add these flags at run time, each time they are loaded. Still, if you want to have the possibility of controlling these menu item appearance flags at design time too all you have to do is unpack the attached .zip file in your Carbide.c++ v2.0 installation.
 

 
Then start Carbide.c++ and ... there you have it:
 
Obviously this is not a big achievement but it should be a reminder that if some thing does not appear to be supported (yet) by Carbide.c++ there's always room for a little personal contribution ... Be it project or code templates or even UI Designer controls one can create/optimize them and then share with the community.
 
P.S. The current version of the hack only generates static resources, you still have to write code in order to manage the dynamic changes in a menu item's state.
 
Update (22.02.2009): Here it is, gamma.coder. I was trying to integrate it into Carbide.c++ but I stil have some problems with that so while I might still publish a full solution I hope you'll find this project helpful.
 
 

S60 development on Windows 7

ltomuta | 15 January, 2009 11:00

One of the first comments to my S60 SDK and tools on Windows Vista - a success story article was that we should hurry up with making the tools compatible with Vista because what do you know, Windows 7 is around the corner and we will be again trailing behind ... :)

Well, Windows 7 (beta, Ultimate edition) is now available for download and is surprisingly stable. On a modest IBM Thinkpad T41 the OS installs ok and although it has some bells and whistles disabled (or because of that, after all Aero is cute but resource hungry) I find it to be fast and fresh ...

So, how do Carbide (now version 2.0) and the S60 SDK (now the S60 5th Edition SDK v0.9) behave on this Windows release?

As with Vista, the key is to be careful and as much as possible in control of what you're doing. There seems to be only two rules to follow: install the tools with admin rights and verify the result after each step.

I've followed roughly the same steps and compared with the previous results the following are to be noted:

  • The only ActivePerl package I've found for download was in *.msi format. This is basically a document to  be handled by the Windows Installer and does not have a "Run as Administrator" option.
    Holding the Shift key down while accessing the context menu one can find a "Run as other user..." option but in an attempt to use that I found out that the Administrator account was by default disabled.
    I ended up enabling this account, setting a password for it and then running the Windows Installer from the command line (just to be sure):

    > runas /noprofile /user:administrator "msiexec /i c:\users\lucian\desktop\ActivePerl-5.6.1.635-MSWin32-x86.msi"

    Aside from this small complication all went ok and at the end I could verify that Perl was correctly added to the path and can be invoked (tools verification as described in How do I start programming for Symbian OS?).

  • As in the previous post, I've chose to install the GCC compiler myself rather than let the SDK setup to start it. However, despite running it with administrator privileges the installer was not able to modify the %PATH% environment variable so I had to edit it manually and set it as %PATH%=c:\Program Files\CSL Arm Toolchain\bin;%PATH%

  • The emulator is running OK with no hacks applied (like DEP deactivation), just the usual firewall blockage removal

That's it. Unofficially and with a "only for hackers" recommendation I declare the S60 development tools Windows 7 ready. :)

Btw, as in the previous tests, I found that I don't need the official Vista patch provided with the SDK or any of the many hacks documented in the Migrating to Windows Vista wiki article. Or at least I did not need them ... yet. Cool

 
 

Rate This

 
 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZdescriptionQSxItE20allE20startedE20innocentlyE20enoughE2eE20TheE20notebookE20didnE27tE20fitE20inE20myE20pocketE2cE20andE20myE20N93E20wasE20alreadyE20thereE2eE20ItE92sE20beenE20aE20greatE20coupleE20ofE20weeksE2cE20butE20IE92mE20gladE20toE20beE20backE2eE20NareshE20E2cE20ToteE20andE20E52onE20haveE20alreadyE20commentedE20onE20theE20ChampionE20E44ayE2eE20IE20echoE20theirE20thoughtsE20thatE20itE20isE20wonderfulE20toE20meetE20inE203E44E2dlandE20thoseE20peopleE20whoE20IE20workE20withE20andE20workE20forE2cE20butE20rarelyE20actuallyE20seeE2eE20Ea0E20AfterE2eE2eE2eE20E45ventE2cE20GeneralE20IE92veE20beenE20workingE20onE20myE20ToE44oE20listE20thisE20weekE2eE20WellE2cE20workingE20mightE20beE20aE20stretchE2eE20ItE92sE20beeE2eE2eE2eX qdcZidentifierQSxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2fblogE2ftastyE2dmultimediaE2djournalsE2dforumE2dnokiaE2dblogE2fgeneralX qdcZpublisherQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fc764fd1cE2d8b06E2d499aE2d9a6aE2d17c3903d5a65E2fforumE5fnokiaE5fcrawlerE5fagentX qdcZtitleQSxTastyE20MultimediaE20JournalE27sE20ForumE20NokiaE20BlogE20E7cE20GeneralX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZBlogContentQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxItE20allE20startedE20innocentlyE20enoughE2eE20TheE20notebookE20didnE27tE20fitE20inE20myE20pocketE2cE20andE20myE20N93E20wasE20alreadyE20thereE2eE20ItE92sE20beenE20aE20greatE20coupleE20ofE20weeksE2cE20butE20IE92mE20gladE20toE20beE20backE2eE20NareshE20E2cE20ToteE20andE20E52onE20haveE20alreadyE20commentedE20onE20theE20ChampionE20E44ayE2eE20IE20echoE20theirE20thoughtsE20thatE20itE20isE20wonderfulE20toE20meetE20inE203E44E2dlandE20thoseE20peopleE20whoE20IE20workE20withE20andE20workE20forE2cE20butE20rarelyE20actuallyE20seeE2eE20Ea0E20AfterE2eE2eE2eE20E45ventE2cE20GeneralE20IE92veE20beenE20workingE20onE20myE20ToE44oE20listE20thisE20weekE2eE20WellE2cE20workingE20mightE20beE20aE20stretchE2eE20ItE92sE20beeE2eE2eE2eX qfnZdistributionQUxhttpE3aE2fE2fblogsE2eforumE2enokiaE2ecomE2fX qfnZtypeQUqfntypeZBlogContentQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZupdatedQDx2008E2d10E2d03X qmarsZdescriptionQSxItE20allE20startedE20innocentlyE20enoughE2eE20TheE20notebookE20didnE27tE20fitE20inE20myE20pocketE2cE20andE20myE20N93E20wasE20alreadyE20thereE2eE20ItE92sE20beenE20aE20greatE20coupleE20ofE20weeksE2cE20butE20IE92mE20gladE20toE20beE20backE2eE20NareshE20E2cE20ToteE20andE20E52onE20haveE20alreadyE20commentedE20onE20theE20ChampionE20E44ayE2eE20IE20echoE20theirE20thoughtsE20thatE20itE20isE20wonderfulE20toE20meetE20inE203E44E2dlandE20thoseE20peopleE20whoE20IE20workE20withE20andE20workE20forE2cE20butE20rarelyE20actuallyE20seeE2eE20Ea0E20AfterE2eE2eE2eE20E45ventE2cE20GeneralE20IE92veE20beenE20workingE20onE20myE20ToE44oE20listE20thisE20weekE2eE20WellE2cE20workingE20mightE20beE20aE20stretchE2eE20ItE92sE20beeE2eE2eE2eX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZBlogContentQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ