Fullscreen/window issue

whenever i hit my green pad and orange cymbol on my guitar hero 5 pad drums at the same time, the game keeps switching between windowed and full screen and i cant seem to figure out how to change it