Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Friends,

I have created a player and have used pictures to create the console and other controls. It also has a zoom function which basically changes the size of the form, thus changing the size of the other controls too (anchored). However, whenever it does this, it takes some time and gives this flickering effect till all the images are rendered. I have used pictureboxes for the control images. Is there a way of speeding this up? I have used double buffer but to no avail.

 

HELP!!!

DNM

Posted
In resize, or whenever redrawing the form...

 

Form.SuspendLayout()

 

''draw images

 

Form.ResumeLayout(false)

 

Thanks Diesel.

It sure has sped up the rendering manifold :cool:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...