No double-buffering on a Panel?



Is it true that double-buffering can only be performed on Form?

I would like to draw to a Panel, but it flickers like crazy when resized.

Thanks,
BT


.



Relevant Pages

  • Re: Drawing DirectX surface to an Image (possible?)
    ... try setting the DoubleBuffered property to ... I need to draw directx output during the OnPaint in the graphics object ... I tried dynamically creating a panel and adding it ... after other things are drawn on the form, it just flickers badly. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: No double-buffering on a Panel?
    ... I would like to draw to a Panel, but it flickers like crazy when resized. ... Public Sub New ...
    (microsoft.public.dotnet.framework.windowsforms)
  • RE: GDI+ Clip Region allows 0.0f width pen to draw through
    ... Just to make this more outrageous if you draw the vertical lines from the ... I took the previous code I posted and made the panel anchor to all four ... private void panel1_SizeChanged ... In other words create a rectangle that is a wider than the panel. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: Draw over controls
    ... want to draw a rectangle over everything. ... The problem is because I have to pass the rect ... of the panel, it draws on that, and under the other controls. ... You shouldn't really draw outside Paint events, because other controls ...
    (microsoft.public.dotnet.languages.csharp)
  • Rectangle in pixel, user coordinates in mm, TODO-draw the points correct.
    ... If rectangle is ok, which define zero point, draw. ... // Pixel vom Panel ermitteln ... int pixelLeft = panelInput.Left; ... g.DrawRectangle(Pens.Red, FactorZollMillimeter * abmessungen.X1, ...
    (microsoft.public.dotnet.languages.csharp)