I used to use
gvimfullscreen.dll to toggle a full screen window state on gvim for Windows. It made gvim full screen, not maximised, with no titlebar.
I have not used gvim on Windows for some time until recently and it's no longer working for me. The many mentions of this file I have found on the internet are old and there are no discussions about it no longer working. I am using gvim for Windows 9.0 and I probably last used it successfully with v8.0.
I get this error:
Error detected while processing function ToggleFullScreen:
E364: Library call failed for "ToggleFullScreen()"
" Fullscreen with Alt-Enter function! ToggleFullScreen() if has('gui_gtk2') :call system("wmctrl -ir " . v:windowid . " -b toggle,fullscreen") elseif has('gui_win32') :call libcallnr(expand("$VIM") . "/win/gvimfullscreen.dll", "ToggleFullScreen", 0) endif endfunction set <M-CR>=\<ESC>\<CR> map <silent> <M-CR> :call ToggleFullScreen()<CR>