www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Windows Class: GetSysMetrics

Previous  Top  Next  


Prototype: (Long pIndex),Long

 

pIndexThe Index value for GetSystemMetrics

 

ReturnsReturns the value from GetSystemMetrics.

 

This method calls the GetSystemMetrics api directly.  Note that most or all the index values are available in the ITUtilityClass.  See the ITWin32Equates.inc for more information.  Search for "!! GetSystemMetrics equates" in the file or IT_SM_ to get to the appropriate section in the file.  This method simply calls GetSystemMetrics and returns the value returned from the api.

 

Example:

 

ITW  ITWindowsClass

Code

Message('Window Border Width: ' & ITW.GetSysMetrics(IT_SM_CXBORDER))

Message('Window Caption Height: ' & ITW.GetSysMetrics(IT_SM_CYCAPTION))

 

See also:

GetSystemMetrics

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/getsysmetrics_window.htm