OSDN Git Service

Improve the member functions of CXkeymacsDll relating the hooks. snap-110830
authorKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Tue, 30 Aug 2011 07:01:56 +0000 (16:01 +0900)
committerKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Tue, 30 Aug 2011 07:01:56 +0000 (16:01 +0900)
commit5e252e07b7b49ba83368c3a5c0ad829d88bad6c2
tree86e064acba7dba22083cc5ec7e3b6995cd2ab0e9
parentd531859a668a154cd64eb4fc0aeba07c4d64a14f
Improve the member functions of CXkeymacsDll relating the hooks.

Remove the member variables of the hook handles from the shared section.
Remove unnecessary type casts in SetHooks.
Merge the invocations of CallNextHookEx in CallWndProc.
Add the invocations of SetKeyboardHook to CallWndRetProc and GetMsgProc.
Process messages in GetMsgProc only when nCode >= 0.
xkeymacsdll/xkeymacsdll.cpp