Class for Windows-only functions, such as transparent windows, message boxes, and more. Does not have any effect on other platforms.

Static methods

staticallocConsole():Void

Allocates a new console. The console will automatically be opened

@:value({ backgroundColor : BLACK, foregroundColor : LIGHTGRAY })staticsetConsoleColors(foregroundColor:ConsoleColor = LIGHTGRAY, backgroundColor:ConsoleColor = BLACK):Void

Sets the console colors

staticsetDarkMode(enable:Bool):Void

Sets the window titlebar to dark mode (Windows 10 only)

@:value({ icon : MSG_WARNING })staticshowMessageBox(caption:String, message:String, icon:MessageBoxIcon = MSG_WARNING):Void

Shows a message box