Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

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

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.
}
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX