Header: w32std.h
Library: ws32.lib
TPixelsAndRotation ScreenSize;
iCoeEnv->ScreenDevice()->GetDefaultScreenSizeAndRotation(ScreenSize);
TInt width = ScreenSize.iPixelSize.iWidth;
TInt height = ScreenSize.iPixelSize.iHeight;
iLogger.WriteFormat(_L("Width : %d, Heigth : %d"), width, height);
Sunday, August 05, 2007
Get Phone Screen Size
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment