Lionheart008
12-11-2009, 00:15
..quite another thing
how can I get more infos/content about "user32.dll" property?
uses "console"
%Screen_Info = 48
DECLARE FUNCTION SystemParametersInfo LIB "USER32.DLL" ALIAS "SystemParametersInfoA" _
( _
BYVAL uAction AS DWORD, _
BYVAL uParam AS DWORD, _
BYREF lpvParam AS ANY, _
BYVAL fuWinIni AS DWORD _
) AS LONG
TYPE RECT
nLeft AS LONG
nTop AS LONG
nRight AS LONG
nBottom AS LONG
END TYPE
FUNCTION TBMAIN() AS LONG
LOCAL rc AS RECT
CALL SystemParametersInfo(%Screen_Info,0,rc,0)
MSGBOX (0, "size width = " & TRIM$(STR$(rc.nRight)) & " and size height = " & TRIM$(STR$(rc.nBottom)), %MB_OK, "workspace info")
TBMAIN=0
END FUNCTION
good night, frank lionheart
how can I get more infos/content about "user32.dll" property?
uses "console"
%Screen_Info = 48
DECLARE FUNCTION SystemParametersInfo LIB "USER32.DLL" ALIAS "SystemParametersInfoA" _
( _
BYVAL uAction AS DWORD, _
BYVAL uParam AS DWORD, _
BYREF lpvParam AS ANY, _
BYVAL fuWinIni AS DWORD _
) AS LONG
TYPE RECT
nLeft AS LONG
nTop AS LONG
nRight AS LONG
nBottom AS LONG
END TYPE
FUNCTION TBMAIN() AS LONG
LOCAL rc AS RECT
CALL SystemParametersInfo(%Screen_Info,0,rc,0)
MSGBOX (0, "size width = " & TRIM$(STR$(rc.nRight)) & " and size height = " & TRIM$(STR$(rc.nBottom)), %MB_OK, "workspace info")
TBMAIN=0
END FUNCTION
good night, frank lionheart