WEL Hook

Revision as of 19:43, 3 April 2006 by Manus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


There 3 different kinds of hooks now. Which one is better?

  • 1.Old one in svn. Use WM_MOUSE.
   Problems:
   1. Not work when pointer button pressed and pointer move outside the same process.
   2. Cursor will changed outside the same process.
  • 2.Wel hook with low level mouse hook (WH_MOUSE_LL) and normal hook (WH_MOUSE).
   Problems:
   1. Cursor will changed outside the same process.
   2. Low level mouse hook not work on Windows 98.
  • 3.Wel hook with journal record hook (WH_JOURNALRECORD) and normal hook (WH_MOUSE).
   Problems:
   1. Cursor will changing between our application's cursor and other process cursor.
   2. Low level mouse hook not work on Windows 98.
  • 4.Wel hook (heavy capture) and Windows setCapture (normal capture) working at the same time.
   Problems:
   1. Not work when pointer button pressed and pointer move outside the same process EXCEPT the first time.
   Advantage:
   1. Actually most cases user only care about first time when pointer button pressed.
  • Final words:
   If I can find a way to stop Windows change mousr cursor, I think "2" it's perfect. (But it still not support Windows98)