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:
line 4:
E364: Library call failed for "ToggleFullScreen()"
https://www.vim.org/scripts/script.php?script_id=2596
" 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>
:version
command$VIM
variable is not pointing to the correct folder or that the DLL is not placed correctly. Did my answer solved your problem?