Is there a way to get (in runtime) the display resolution my application is using?
My application can be run using 1280x1024 or 1024x768 and I want to know this information in runtime to position widgets correctly.
IÂ´m using Photon 1.14 and QNX 4.25.
Get the dimension of the main windows (base widget) using PtGetResources.
yes, I did that, but IÂ´d like to know if there is another way, using a PhotonÂ´s function to catch the resolution.
If you meant screen resolution, check out PgGetVideoMode() and PgGetVideoModeInfo(). If you mean the windows size aside from the PgGetResouces there is also PtWidgetDim()