|
Previous Top Next |
Prototype: | (Long pAction, <Long pParam>, <*? plpvParam>, Long pWinIni),Long,PROC |
pAction | A system wide parameter to be retrieved or set. See MSDN for more information. The equates for this are named IT_SPI_* in the Icetips Utilities. The IT_SPI equates are all defined in the ITWin32Equates.inc file. |
pParam | An additional parameter for the action to retrieve or set. It depends on the value passed to pAction. See MSDN for more information. |
pplpvParam | An additional parameter for the action to retrieve or set. It depends on the value passed to pAction. See MSDN for more information. |
pWinIni | Specifies if user profile should be updated. See MSDN for more information. |
Returns | If the method fails the return value is zero (0). If it succeeds the return value is not zero (0). |
This method is a direct wrapper around the SystemParametersInfo api call. See MSDN for more information.
Example:
ITW ITWindowsClass
Toggle IT_BOOL
Code
Toggle = false
ITW.GetSysParamInfo(SPI_SETCLIENTAREAANIMATION, ,Toggle, IT_SPIF_UPDATEINIFILE + IT_SPIF_SENDCHANGE) !! Toggles animation on the client area.
See also:
http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx