Hi Frank,
you can have a look here, it is tool long list to retype it here:
MSDN
MSDN is usually good source for Win32
..quite another thing
how can I get more infos/content about "user32.dll" property?
[code=thinbasic]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[/code]
good night, frank lionheart
you can't always get what you want, but if you try sometimes you might find, you get what you need
Hi Frank,
you can have a look here, it is tool long list to retype it here:
MSDN
MSDN is usually good source for Win32
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
thanks petr, but can you check your msdn link in last post again ? it doesn't work for me, cannot load this page ("server not found") etcpp. bye, frank
you can't always get what you want, but if you try sometimes you might find, you get what you need
Hi Frank,
I checked the link and in Firefox (at least) it works without problem.
Anyway - try to visit msdn.microsoft.com and then search for SystemParametersInfo. You should get there in few seconds.
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Bookmarks