How do I make the cursor not go out of a window if the window is not maximized. Also how do I trap the CTRL-ALT-DEL and ALT-F4 keys.
Posted on 2000-12-27 02:50:00 by helios
Download the win32 programmers reference @ win32asm.cjb.net and look up SetCursorPos, GetWindowPos & WM_KEYDOWN... Use a timer to trap the cursor movements with getcursor (keep the time interval low), and you can capture the keydown msg but the window must be in focus...
Posted on 2000-12-27 05:54:00 by ?
Hello ! "ClipCursor" is able to hold the mouse cursor in an area like e.g. a window. yoda
Posted on 2000-12-27 07:18:00 by yoda