Fullscreen method: GetSystemMetrics code example
Example: 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