Drawing

  • Thread starter Thread starter CMEDIA_SOUND
  • Start date Start date
C

CMEDIA_SOUND

I am making a application that has some UserControls on a tabpage, you
are able to drag the UserControl around on the tabpage, you can even
select multiple and drag them around also. This is all fine the
problem i have is when setting the background image of the tabpage.
With small background images everything works fine however with
background images of say 50kb the responsivness of dragging the
controls around is slower as the backimage takes time to paint. How
can i rectify this problem? I want smooth dragging even with a 50kb
backimage set. Any ideas? Thanks
 
I've tried usercontrols in the past, and found them to have a lot of
overhead. You might have a hard time to get many usercontrols on a form to
draw smoothly. You should look into GDI+, especially if your controls are
simple:

http://www.bobpowell.net/faqmain.htm

Your question is perfect for
microsoft.public.dotnet.framework.windowsforms or
microsoft.public.dotnet.framework.windowsforms.controls, so you should ask
there, too.

Erik
 
Back
Top