Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long
Private Const SPIF_SENDWININICHANGE = &H2&
Private Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Private Const SPI_SETWORKAREA = 47&
Dim a as RECT
SystemParametersInfo SPI_SETWORKAREA, 0&, a, SPIF_UPDATEINIFILE
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 39