RE: trapping all key and mouse events

2001-08-08 Thread Michael Robin
You're not saying what GUI system your using - but I assume windows. option 1: The preferrable way would be to let the OS do the work and show an AppModal or SysModal dialog box - will will take care of locking out other windows in your application, or other apps, respectively. option 2: Use the

trapping all key and mouse events

2001-08-08 Thread Oisin Mulvihill
Hi, Does anyone know how I could get one window with a button on it, to handle all mouse and keyboard events. Thus preventing a user from doing anything else but clicking on the button? Any suggestions/comments on how I could go about doing this would be greatly welcomed, thanks, om _