how I can get the current resolution of screen in a photon program?
Thx!
Take a look at PhQuerySystemInfo()
Regards,
Dave B.
waity <waity@hongkong.com> wrote:
how I can get the current resolution of screen in a photon program?
Thx!
waity <waity@hongkong.com> wrote:
how I can get the current resolution of screen in a photon program?
Thx!
Here’s a snippet:
*************** begins ***********************
PhRect_t console;
short console_height, console_width;
PhWindowQueryVisible( Ph_QUERY_IG_REGION, 0,
PhInputGroup( NULL ), &console );
console_width = console.lr.x - console.ul.x + 1;
console_height = console.lr.y - console.ul.y + 1;
**************** ends ************************
Norbert Black
QSSL Training Services