Re: trapping all key and mouse events

2001-08-09 Thread Markus Daniel
> I'm writing is supposes to prevent the user from using > the system until they have pressed a button. Once this > button is pressed the "client" sends a message to a > "server". The "server" then replies and tells the client > to unlock. The user can then use the windows machine, > browse the

RE: trapping all key and mouse events

2001-08-09 Thread Oisin Mulvihill
Hi, thanks to all those who replied so far. I should have mentioned that I'm working on windows. The program I'm writing is supposes to prevent the user from using the system until they have pressed a button. Once this button is pressed the "client" sends a message to a "server". The "server" t

Re: trapping all key and mouse events

2001-08-09 Thread Markus Daniel
# > 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? # First, there are modal and unmodal -dialogs. A modal # dialog locks the GUI-thread and prevent

RE: trapping all key and mouse events

2001-08-08 Thread Michael Robin
]' Subject: trapping all key and mouse events 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 w

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 _