Open clu-- opened 8 years ago
It's trivial to do this with AutoIt.
Here's how to hide menu bar: https://www.autoitscript.com/forum/topic/59746-menubar-removal-delete-hide/
Use this to hide window borders: https://www.autoitscript.com/forum/topic/9517-anyguiau3/?page=9
Something like this should work...
$winRef = "[CLASS:Notepad2-mod]" ; I don't know if this is the class name. You'll have to look it up.
$hWnd = WinGetHandle($winRef)
$hMain = _GUICtrlMenu_GetMenu($hWnd)
For $x = _GUICtrlMenu_GetItemCount($hMain) - 1 To 0 Step -1
_GUICtrlMenu_RemoveMenu($hMain, $x)
Next
_TargetStyle("unset", 1, 0x00CF0000, -1, $hWnd)
WinMove($winRef, "", 0, 0, @DesktopWidth, @DesktopHeight)
Change $winRef
value and _TargetStyle()
params as needed.
I think it's even easier to do this with AHK. I know it's a lot easier to hide window borders and title bars with AHK, but I've never tried to hide a menu bar with it. Google is your friend.
You're on your own from here, though. Good luck.
Hello everyone and thank you for your nice sofware. I hope this is the right place for this request, otherwise I'd appreciate being redirected to the correct location. I would like to keep all the features unchanged but get the edit area filling the whole screen. It might not be(come) a dev priority but since it would make its use more accessible for me, i'm ready to go some length as to do my part (in autoHotKey much probably). That is, as far as you can tell me the correct component to be targeted (its class or id) and the messages to be sent to it in order to toggle the state (fullscreen (FS) vs. embedded (fs)).
thank you for your kind attention J.Clu