You Are Here:

Community: Wiki

This page was last modified on 27 November 2007, at 05:34.

How to get the Device Area in Pixels

From Forum Nokia Wiki

#include <w32std.h>
Link against: ws32.lib
CWsScreenDevice& iScreen = *(iCoeEnv->ScreenDevice());
TSize originalres = iScreen.SizeInPixels();
 
TSize resolution1(320,240);
 
if( originalres == resolution1 )
{
// It means the resolution is 320 x 240
// Do something.
}

Related Wiki Articles

No related wiki articles found

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