I`m need to draw a rectangle over all windows. For this, I am using a topmost and fullscreen form, and System.Drawing.Graphics. The problem is that the rectangle is created via DrawRectangle does not cover the taskbar. at the screenshot right rectangle is drawn as follows:
g.DrawRectangle (MyPen, 300, 300, 800, 1000);
g.FillRectangle (brGradient, 300, 300, 800, 1000);
但它显然没有涵盖任务区,尽管它包含在形式上(小组的 cur形形形形形形形色色,而不是标准arrow)。 问题是什么?