maximize and minimize shortcut key window code example Example 1: shortcut to minimize the window Windows + Down arrow Example 2: shortcut for minimize and maximize ALT + SPACE_BAR