Skip navigation.
Home
The QNX Community Portal

View topic - How to determine current resolution in Photon?

How to determine current resolution in Photon?

Read-only archive of qnx.gui (Creating graphical applications within a GUI environment, such as Photon or PhAB) at inn.qnx.com

How to determine current resolution in Photon?

Postby jacus » Wed Oct 31, 2007 2:27 pm

Hi,

How to do that from a C code ?

Regards,
Jacek
jacus
Senior Member
 
Posts: 239
Joined: Tue Apr 22, 2003 8:36 am

Re: How to determine current resolution in Photon?

Postby Wojtek Lerch » Thu Nov 01, 2007 10:26 pm

Jacek Rudnicki wrote:
How to do that from a C code ?

You could use PhWindowQueryVisible() with the Ph_QUERY_GRAPHICS flag.
(If there are multiple graphics drivers, it'll pick one for you.)

Pozdrowienia,

Wojtek Lerch
Wojtek Lerch
 


Return to qnx.gui

Who is online

Users browsing this forum: No registered users and 1 guest