I am trying to create a program that has cmd.exe embedded into it. However, I would like for the cmd.exe window to be borderless. Here is my code so far. #include <GUIConstants.au3>
#include <Constants.au3>
Opt("GUIOnEventMode", 1) ; Change to OnEvent mode
$mainWindow = GUICreate("Embed Cmd", 500, 500, 10, 10)
GUISetOnEvent($GUI_EVENT_CLOSE, "CLOSEClicked")
GUISetState (@SW_SHOW)
GUIRegisterMsg(0xF, "WM_PAINT")
$pid = run("cmd.exe /T:F0 /k")
ProcessWait ($pid)
; get the hand