Does your recording software not allow you to define which region of the screen/window you want to record? If not, it would probably be more convenient to record with something else, if you have a choice in the matter. Otherwise, you could crop the video in postprocessing, but that could take more time, or damage quality depending on how you're storing/processing your video.