Why does my game freeze the Win XP desktop when i alt+tab?

Sometimes (maybe 5-10%) of the time when i alt+tab away from the game, it freezes the desktop. I see thew windows taskbar below and my gameframe covering rest of the display. I cannot click anything in my game window either. The only thing I can do is CTRL+ALT+DELET and kill the game process.

By the way, it ONLY happens when i run my game in full screen mode. Also, in the taskbar manager my game is using only 0-4% of the CPU when it freezes.

Someone has a hunch where in my code I can fix this?