C#: Hide Mouse & Disable Mouse input

To disable mouse input & hide mouse cursor: – In your Form Class, implement the interface IMessageFilter Use the following code: //in class header public partial class FrmInputPrompt : Form, IMessageFilter // method for iMessageFilter & methods for disable/enable mouse. bool IMessageFilter.PreFilterMessage(ref Message m) { if (m.Msg == 0x201 || m.Msg == 0x202 || m.Msg […]