Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The question being a little unspecific I am assuming that you want to manipulate the desktop using GDI+ or similar. Since you specify doing it using unmanaged API calls the first part of my answer focuses on this. However, if the question also applies to doing it in using the .Net framework, please scroll down.</p> <h2>Unmanaged drawing</h2> <p>Googling a little bit, I found this discussion describing how to draw directly to the desktop's DC (drawing context) <a href="http://www.pcreview.co.uk/forums/am-missing-painting-directly-screen-dc-using-gdi-api-calls-t1421309.html" rel="nofollow">here</a> using unmanaged API calls.</p> <p>You should be able to similarly manipulate the color, transparency or similar using other GDI+ functions (the <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms534422%28v=vs.85%29.aspx" rel="nofollow">Blur</a> class might be the kind of effect you are looking for).</p> <h2>Managed drawing using System.Drawing</h2> <p>However, before diving into unmanaged drawing using pinvoke or similar I would seriously consider trying the same using classes from the <a href="http://msdn.microsoft.com/en-us/library/system.drawing.aspx" rel="nofollow">System.Drawing</a> namespace. These classes are .Net implementations of the unmanaged GDI+ API and would be much nicer to work with from managed code.</p> <p>I apologize for not giving any good code examples or pointing to the exact classes/methods to use, will try to update my answer later if I get the time to experiment a bit. :-)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload