hide Notepad's menubar
Posted: Sun Jun 12, 2011 12:54 pm
Is there a way for hide Notepad's menubar?
i think in first, i get a handle of menu bar
i think in first, i get a handle of menu bar

Code: Select all
RunProgram("Notepad.exe")
Delay(150)
hwnd = FindWindow_(#Null, "Untitled - Notepad") ;
If hwnd
ShowWindow_(GetMenu_(hwnd), #SW_HIDE)
Else
Debug "Notepad not found!"
EndIf