Vim: Setting height and width of gVim window

I always struggled with this on my windows Vim and today I saw the fix on a vim users mailing list addressing this exact question.

Here is the way to set height (lines) of gVim (graphical Vim) window:

:set lines=40

and here is how to set width (columns) of gVim windows:

:set columns=80