F11 full screen feature

in chrome, notepad++ and many applications when we press f11
menubar titlebar and even windows panel goes hidden

how to do that in exeoutput