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. }
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pixels Dying out.....help needed | freakydipu | General Discussion | 1 | 2008-01-26 10:38 |
| Problem in calculating height in Nokia N72 and 6630? | shital_227 | Mobile Java General | 2 | 2007-02-22 08:29 |
| J2me程序如何驻留在手机上 | simpleisgood | Other Programming Discussion 关于其他编程技术的讨论 | 2 | 2003-07-16 17:34 |
| NokiaUI: getPixels() from a mutable Image | xdimas | Mobile Java General | 0 | 2002-11-13 07:27 |
| getPixels() returns pixels for wrong Graphicsobject | kyhlis | Mobile Java Media (Graphics & Sounds) | 1 | 2003-04-29 14:07 |
