[Help]Annoying Backround Image Stretch Glitch?

Posts 1–12 of 12 · Page 1 of 1
[Help]Annoying Backround Image Stretch Glitch?


Yes i recorded and produced a 40-second video of a help. lol

How do i fix it?
Are you overriding the OnPaint or OnInvalidate events?
The ribbon form isn't updating the image fast enough. You need to invalidate the form in the resize event of the form. Also, enable the double buffering to enable more smooth experience.

Put the following in form's load event:
Code:
 Me.DoubleBuffered = True


Put the following in form's ResizeEnd event:
Code:
 Me.Invalidate()


Hopefully this will help it smoothly strech the image. My personal suggestion is to use a Picturebox docked in the form. Works much better.But the drawback is that you'll have to set the same image for each control on top of the picturebox.

Quote Originally Posted by Hassan View Post
The ribbon form isn't updating the image fast enough. You need to invalidate the form in the resize event of the form. Also, enable the double buffering to enable more smooth experience.

Put the following in form's load event:
Code:
 Me.DoubleBuffered = True


Put the following in form's ResizeEnd event:
Code:
 Me.Invalidate()


Hopefully this will help it smoothly strech the image. My personal suggestion is to use a Picturebox docked in the form. Works much better.But the drawback is that you'll have to set the same image for each control on top of the picturebox.

imo that's a gay library then.
nope. didn't work.

Also i was playing minecraft for a bit while.
Select the picture and Anchor it to all four sides:




That might help (:
Quote Originally Posted by xFishx View Post
Select the picture and Anchor it to all four sides:




That might help (:
anchoring just anchors the sides relative to the parent's borders... this seems to be a problem with his 3rd party library?

Even if it works, what you'll be doing is just hiding the problem, not solving it.
Quote Originally Posted by o0OpurezO0o View Post


Yes i recorded and produced a 40-second video of a help. lol

How do i fix it?
property background image layout stretched , i don't remmber the property well
Then you sir, fail at programming. lol jk. I tried allot, i found 3 posts, they say different stuff, still don't. I tried even **Hacks**.
Have a Time Reload the Image Apon Streching the form?
Quote Originally Posted by cosconub View Post
Have a Time Reload the Image Apon Streching the form?
Bad idea, there's events for a reason. Handle the ResizeEvent and reset the image then.
I don't have the correct brains to do that lol.
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.
Talk with us