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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top