I'm trying to create a Red Dot in the middle of the screen for shooting games. but I have a problem. the Form steals the click and now I can't event shoot! so is there any way to make the Form doesn't steal the click? here is what I'm trying to do.
static Form RedDot;
static void Main()
{
var width=Screen.PrimaryScreen.Bounds.Width;
var Height = Screen.PrimaryScreen.Bounds.Height;
RedDot = new Form();
RedDot.AutoSize = false;
RedDot.BackColor = Color.Red;
RedDot.FormBorderStyle = FormBorderStyle.None;
RedDot.ShowInTaskbar = false;
RedDot.Size = new Size(3,3);
RedDot.Location = new Point(width/2, Height/2);
RedDot.TopMost = true;
RedDot.Shown += new EventHandler(RedDot_Shown);
Application.EnableVisualStyles();
Application .Run(RedDot);
}
static void RedDot_Shown(object sender, EventArgs e)
{
RedDot.Size = new Size(3,3);
}