flicker

How to fix bad Double-Buffering [closed]

孤人 提交于 2019-12-11 19:18:40
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . I tried following a double buffering tutorial, and I really don't know what I did wrong. It works before then before I did the tutorial, but there is still and occasional flicker here and there. I have two files

Reduce flickering when using SetWindowPos to change the left edge of a window

家住魔仙堡 提交于 2019-12-11 17:52:19
问题 Update 1: Here's the simplified version: So I have a special fixed-size child window that I want to make it stay at the right side of the resizable main window. When users resize the main window by dragging the left/right edge of it, WM_WINDOWPOSCHANGED is sent, the child window will be moved in this message handler so that it "sticks" to the right side, and there is no flickering when this happens. However, when I try to programmatically resize the main window by SetWindowPos, there is

This is a Solution for “flickering issue on scrolling” on Android Device

我怕爱的太早我们不能终老 提交于 2019-12-11 14:39:01
问题 You will see a flickering issue on edit text boxes when you try to scroll. This is an issue often seen and is due to bad coding while creating View using XML. See the following samples on understanding the issue. <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@+id/stepText" android:background="@drawable/textbox_group_border" android:orientation="vertical" > <RelativeLayout android:id="@+id/emailArea" android:layout_width="fill

Learning java…why on earth is this image flickering/flashing?

廉价感情. 提交于 2019-12-11 09:41:56
问题 There seem to be a lot of similar problems, but they implement different code...this is just the base code, so I have a feeling I'm doing something very strange/wrong. This is what my code looks like. The gifs are transparent and animated, if that changes things. import java.awt.*; import javax.swing.*; public class NewClass extends JFrame { private JLabel label; private JButton button; private JTextField textfield; private ImageIcon image; private JLabel label1; private ImageIcon imaged;

DataGridView draws wrong

怎甘沉沦 提交于 2019-12-11 07:27:45
问题 I have a form and it has tones of other controls(buttons, custom controls, labels, panel,gridview). You can guess i had flickering issue. I tried doublebuffering and it couldn't solve. Finally i tried this one: protected override CreateParams CreateParams { get { // Activate double buffering at the form level. All child controls will be double buffered as well. CreateParams cp = base.CreateParams; cp.ExStyle |= 0x02000000; // WS_EX_COMPOSITED return cp; } } Flickering gone but my datagridview

How do I keep a wx.html.HtmlWindow at the same position during resize (without flicker)?

老子叫甜甜 提交于 2019-12-11 07:26:43
问题 I want to be able to resize an html window but keep the scroll position. This example almost works, but flickers. To test: - load a good sized html file using the Load Html File button - scroll down - resize the window. The window keeps its same position through resizes, but it flickers horribly. The code for htmlwindow is resetting the scroll position to 0 each resize, I think. I'd like to keep it from redrawing until the scroll position is fixed in the post_resize function. I've tried

Image flickering when moving and animaring in VB6

耗尽温柔 提交于 2019-12-11 05:22:42
问题 I am using VB6 make a game. You move with the arrow keys, and also when you move there is a animation. I have cached the character that move's sprites into a stdPicture array, but still get flickering every time for some reason. How can I stop this? I am using an image object with transparent sprites and a solid background. I get flickering with white background on sprite and even in a picture box. Is there any way to stop the fickering? Currently I animate with LoadPicture() and I move with

OpenGL Rapid Flickering Issues - and now not showing image

橙三吉。 提交于 2019-12-10 20:28:48
问题 I'm having some troubles with OpenGL. First of all, I have a custom control which I'm building, encapsulating OpenGL. I'm having a problem where it rapidly flickers, like it's 'flashing'. The control was too large and complex to post here, so I made a new small demo app to demonstrate and recreate the same scenario. The problem now: I'm not getting any image. Things would show fine in my custom control, but since I've copied the code and stripped it down in a small demo app, it won't show the

WPF flickering during animation in Viewport3D

余生颓废 提交于 2019-12-10 15:19:30
问题 I'm having some strange behaviour inside a WPF app I'm writing. When I run an animation on the camera position (a Point3DAnimation on PerspectiveCamera.PositionProperty), I get really bad flickering artifacts inside the application. The 3D-rendered object seems to disappear for certain frames and allows the background of the window to show through. I've written a very simple sample application below to demonstrate the problem on my machine. To use it, just compile it and use the arrow up and

Java applet blinking on Mac

非 Y 不嫁゛ 提交于 2019-12-10 14:27:14
问题 This problem is very weird . The issue does not occur on every platform . It occurs for me in Google Chrome, using MacOSX, but it doesn't occur in Safari. For a friend that uses Windows, on Google Chrome it works perfectly. I also have a friend that uses MacOSX and for him it blinks on Chrome, Safari and Firefox. We both have MacOSX Lion. I don't see any link. Can you people please test it and report if it happens or not, and what your platform is (it should occur within 30 seconds at most)?