How to determine current resolution in Photon?

bridged with qnx.gui
Post Reply
Jacek Rudnicki

How to determine current resolution in Photon?

Post by Jacek Rudnicki » Wed Oct 31, 2007 2:27 pm

Hi,

How to do that from a C code ?

Regards,
Jacek

Wojtek Lerch

Re: How to determine current resolution in Photon?

Post by 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

Post Reply

Return to “qnx.gui”