Skip to Content
Former Member
Apr 04, 2006 at 01:40 PM

How to determine the size (in pixels) of the current mode



I am looking for a was to determine the size (horizontal and vertical pixels) of the current mode (SAPGUI window). I have already looked through the methods provided by class CL_GUI_CFW...

CL_GUI_CFW=>GET_METRIC_FACTORS provides the size of you display (i.e. 1600 x 1200 pixels) and some other information I am not able to interprete.

Futhermore I have had a look at the Methods CL_GUI_CFW=>COMPUTEPIXEL, but I don´t know how to use them.

Has anybody of you any experiences in this topic? I would be grateful ...