4 references to SetLayeredWindowAttributes
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1797
if (!PInvoke.
SetLayeredWindowAttributes
(this, (COLORREF)0, OpacityAsByte, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA))
System\Windows\Forms\Form.cs (3)
6147
result = PInvoke.
SetLayeredWindowAttributes
(this, (COLORREF)0, OpacityAsByte, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA);
6152
result = PInvoke.
SetLayeredWindowAttributes
(this, (COLORREF)transparencyKey, 0, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_COLORKEY);
6156
result = PInvoke.
SetLayeredWindowAttributes
(this, (COLORREF)transparencyKey, OpacityAsByte, LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_ALPHA | LAYERED_WINDOW_ATTRIBUTES_FLAGS.LWA_COLORKEY);