tags:

views:

294

answers:

2
+1  A: 

I asked a similar question a few months ago.

What I ended up doing was having two options:

  1. Copy the background behind the application by setting its opacity to 0 temporarily, then draw antialiased text onto that. This approach works well if the window and those under it don't move often.
  2. Using a layered window. Works better than TransparencyKey, but still works best with non-antialiased text. (just avoid using a ClearType font and you will be fine)
Ian
A: 

In your Display_Paint method, try this:

this.SetStyle(ControlStyles.DoubleBuffer | 
      ControlStyles.UserPaint | 
      ControlStyles.AllPaintingInWmPaint,
      true);
this.UpdateStyles();
Jim Schubert
Thank you for the tip, but setting the style does not help.
Habi
I'd like to know more about the copying part
m3n
Actually I did some searching, seems I was looking for CopyFromScreen,http://stackoverflow.com/questions/715094/how-do-i-capture-the-current-screen-as-an-image
m3n