Tuesday, January 13, 2009

How to get the Screen Size Anywhere in a GUI application

Just a simple line of code to access the Application related data from any file.
If you want to access the application rectangle or screen size then -
CEikonEnv::Static()->EikAppUi()->ApplicationRect().Size().iWidth
and you have to include -
eikenv.h and eikappui.h

0 comments: