Use hidden mouse for application (like as DOSBox) lazarus / 31-LCL ---------------------------------------------------------------------- Milsa · 2015-05-03 19:28 How can I use mouse in my application? I have emulator of 8-bit computer. It supports mouse. I need to hide operatig system mouse cursor (like as DOSBox) and detect this events in Windows or Linux: - move - left or right click It is possible? ---------------------------------------------------------------------- ChrisF · 2015-05-04 13:28 I'm not sure there is really a solution in the LCL, available for all platforms. But, AFAIK DosBox is using SDL, which supports several OS (including Windows and Linux):  https://www.libsdl.org/ **  Edit **  A few more links:  - http://wiki.freepascal.org/FPC_and_SDL  - http://www.freepascal-meets-sdl.net/ ---------------------------------------------------------------------- zeljko · 2015-05-04 14:12 Quote from: Milsa on May 03, 2015, 09:28:44 pmHow can I use mouse in my application? I have emulator of 8-bit computer. It supports mouse. I need to hide operatig system mouse cursor (like as DOSBox) and detect this events in Windows or Linux: - move - left or right click It is possible? Screen.Cursor := crNone does not work ? ---------------------------------------------------------------------- ChrisF · 2015-05-04 14:40 Quote from: zeljko on May 04, 2015, 04:12:15 pmScreen.Cursor := crNone does not work ? Your are right, but it's working only for the current application screen area. In my mind, the reference to DosBox makes the question a little ambiguous. DosBox can "capture" the mouse cursor for the whole screen and hide or modify it: http://www.dosbox.com/wiki/DOSBox_FAQ#Trapped_mouse_cursor