Alt + f4?

I am making a project which exits out a window on Windows and I need help. How can I make my arduino simulate pressing the Alt + f4 keys?

May be you could make the Arduino simulate a HID device...