Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Desktop size

Author
Message
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Feb 2009 15:59
Hi,
Is there a way to get current desktop size? Can you do it with windows API?

I don't want to use the GDK screen checklist.

Thanks
Alex

prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 15th Feb 2009 17:06
int Width = GetSystemMetrics(SM_CXSCREEN);
int Height = GetSystemMetrics(SM_CYSCREEN);
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 15th Feb 2009 18:19

Login to post a reply

Server time is: 2024-11-25 13:20:11
Your offset time is: 2024-11-25 13:20:11