Intrinsic - 148 GetSysMetrics

Top  Previous  Next

148: Metric:=GetSysMetrics(MetricType);

 

This intrinsic returns information about the operating system settings such as screen resolution. The type of information returned is specified by the MetricType argument. For example, an argument of zero returns the screen width. Here is a list of the Metric Types available:

 

0 = Returns Screen Width

1 = Returns Screen Height

2 = Window Border

3 = Caption Height

4 = Menu Bar Height

 

Additional information may be added in the future.