PDA

View Full Version : Screen Resolution



vijay anandh
6th October 2006, 11:38
Hi

I am working with Qt 4.1 with Visual Studio integration. I want to get Screen Resolution Informations. For Example If we are in 800*600, it should return these values. Is there any functions to get these values

Help me

jacek
6th October 2006, 12:12
Try QApplication::desktop() and QDesktopWidget::screenGeometry().

moowy
6th October 2006, 13:58
Or maybe just use native support (mfc) in visual studio??

jacek
6th October 2006, 14:47
Or maybe just use native support (mfc) in visual studio??
QDesktopWidget is platform independent, MFC isn't.