We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Re example 43.5 Maximise my main window. Here is the VB equivalent

The VB equivalent. Public Class WinAPI Public const Integer WM_SYSCOMMAND = 0x0112 Public const Integer SC_MAXIMIZE = 0xF030 _ Public static extern Integer SendMessage(IntPtr hWnd, Integer Msg, Integer wParam, Integer lParam) End Class

Live Chat Icon For mobile
Up arrow icon