|
Previous Top Next |
Prototype: | (Long pIndex),Long |
pIndex | The Index value for GetSystemMetrics. |
Returns | Returns 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: