I have loaded a Winform using following code, with semi-transparent effect.
frmTest frm=new frmTest();
frm.Opacity = 0.051;
frm.Left = 0;
frm.Top = 0;
frm.Width= Screen.PrimaryScreen.Bounds.Width;
frm.Height= Screen.PrimaryScreen.Bounds.Height;
frm.Show();
Now I'm looking for some way to bypass my form from responding to mouse clicks. For example, the form displays over the desktop with semi-transparent, the user clicks on form, and the desktop should get that mouse click instead of my form. My form only need to be visible to user, but no collision with it.
I tried disabling my form, but having no idea about how to pass the mouse event to desktop or other program below my form. Can someone please point me in right direction to solve this?