PDA

View Full Version : Help getting focus on a key combo for TSR C app



legends2k
November 1st, 2007, 08:05 PM
Hi,
I am writing a C application using GTK+ where the application will sit in the system tray, when the users presses a particular key combo, say Ctrl + Alt + M, I want my application to pop-up. And also, if the user has selected any text, and then pressed the combo, then that text should be available in clipboard for the application to use.

What API should I use? Any idea... please guide me!