I thought %SW_Maximize would maximize the browser that this opens, but it does not. Nor does %SW_ShowMaximized.
I've found other places I've used this code but on retesting, none of them maximize the browser.
Am I forgetting something simple?
Code:
#Include "win32api.inc" Function PBMain() As Long Local iReturn As Long iReturn = ShellExecute(%Null, "Open", "http://www.google.com", $Nul, $Nul, %SW_Maximize) End Function
Am I forgetting something simple?
Comment