Answers for "Fullscreen method: GetSystemMetrics"

0

Fullscreen method: GetSystemMetrics

Private Declare Function GetSystemMetrics Lib "user32.dll" Alias "GetSystemMetrics" (ByVal Which As Integer) As Integer
[/pre]
 
<p>
Following this you need to declare 4 constants :
</p>
 
Required constants:
 
Private Const SM_CXSCREEN As Integer = 0
Private Const SM_CYSCREEN As Integer = 1
Private Shared HWND_TOP As IntPtr = IntPtr.Zero
Private Const SWP_SHOWWINDOW As Integer = 64
Posted by: Guest on June-10-2021

Browse Popular Code Answers by Language