I don't have experience in programming windows, but from working with OS X I would guess that you can't cover the menubar (for sure), and most probably not the dock either. You can hide the dock in the dock preferences, under the Finder menu. The menubar will remain visible until there the Mac is alive.