stratergy game

how do i keep the mouse in the screen and make the mouse move the camera around the map?