Subscribe to os events

  • Thread starter Thread starter Jesper.
  • Start date Start date
J

Jesper.

Hi,

Is it possible to subscribe to os events. I would like to
invoke my program (.e.g. maximize it from the task pane)
when a certain key combination is pressed. Much like the
explorer can be started by the windows key + E.

Is this possible.

best regards Jesper.
 
Hi Jesper,

Jesper. said:
Hi,

Is it possible to subscribe to os events. I would like to
invoke my program (.e.g. maximize it from the task pane)
when a certain key combination is pressed. Much like the
explorer can be started by the windows key + E.

Is this possible.

best regards Jesper.

You would need to setup a windows hook using SetWindowsHookEx (API).
This KB article covers the basics:

http://support.microsoft.com/default.aspx?scid=kb;[LN];318804

Regards,
Dan
 
Back
Top