From https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html

"To avoid the slightly distracting visual effect of Emacs starting with its default frame size and then growing to fullscreen, you can add an ‘Emacs.Geometry’ entry to the Windows registry settings. See X Resources in The GNU Emacs Manual.

To compute the correct values for width and height, first maximize the Emacs frame and then evaluate (frame-height) and (frame-width) with M-:."



This could be added to https://www.gnu.org/software/emacs/manual/html_node/efaq/Fullscreen-mode-on-MS_002dWindows.html to help the users to automatically compute the values with (display-pixel-width) and (display-pixel-height):


(setq frame-resize-pixelwise t)

(set-frame-position (selected-frame) 0 0)

(set-frame-size (selected-frame) (display-pixel-width) (display-pixel-height) t)