Open Console in Full Screen
Open Console in Full Screen
Looking to open the Console, in full screen, when starting a Console program. Can not locate this information on any of the supplied documentation.
Re: Open Console in Full Screen
If my English syntax and lexicon are incorrect, please bear with Google translate and DeepL. They rarely agree with each other!
Except on this sentence...
Except on this sentence...
Re: Open Console in Full Screen
Got it figured out. PureBASIC has no such command, in ver 6.20, and I am using 64-bit Mode. Using my system's Windows API (windows 10) this works:
Import ""
GetConsoleWindow() ; No decoration needed
EndImport
OpenConsole()
hwnd = GetConsoleWindow()
ShowWindow_(hwnd, #SW_MAXIMIZE)
PrintN("Console window maximized.")
Input()
THANKS FOR YOR TIME
Import ""
GetConsoleWindow() ; No decoration needed
EndImport
OpenConsole()
hwnd = GetConsoleWindow()
ShowWindow_(hwnd, #SW_MAXIMIZE)
PrintN("Console window maximized.")
Input()
THANKS FOR YOR TIME
Re: Open Console in Full Screen
Hello !Did you see your source code between markups ?
Beautiful !
Thank you for the tip.
Code: Select all
Import ""
GetConsoleWindow() ; No decoration needed
EndImport
OpenConsole()
hwnd = GetConsoleWindow()
ShowWindow_(hwnd, #SW_MAXIMIZE)
PrintN("Console window maximized.")
Input()
Beautiful !
Thank you for the tip.