flicker

jQuery Mouse Flicker in IE

柔情痞子 提交于 2019-12-07 03:23:16
问题 When I execute a jQuery function like .fadeIn, .fadeOut, .slideUp, .slideDown, .toggle, etc. in IE the mouse always flickers and the hourglass quickly flickers in and out of view next to the cursor. I've tried different methods of hiding the mouse entirely while the animation is going on to no avail, plus I don't want that in most cases anyways. Does anyone have another solution to fix this? 回答1: If you are doing animation on anything that has a CSS defined background image, IE will do this.

Zoom with OpenCV win32 C++

房东的猫 提交于 2019-12-07 00:24:26
I have some OpenCV project that view image on static control and has zoom in / out functionality. Here what I got : void UpdateImage(HWND hwnd, int zoom) { if(img) { RECT rc; HWND hStatic = GetDlgItem(hwnd, IDC_IMG); HDC imgdc = GetDC(hStatic); GetClientRect(hStatic, &rc); HDC hdcMem = CreateCompatibleDC(imgdc); HBITMAP hbmMem = CreateCompatibleBitmap(imgdc, rc.right-rc.left, rc.bottom-rc.top); HGDIOBJ hbmOld = SelectObject(hdcMem, hbmMem); HBRUSH hbrBkGnd = GetSysColorBrush(COLOR_3DFACE); FillRect(hdcMem, &rc, hbrBkGnd); DeleteObject(hbrBkGnd); SetBkMode(hdcMem, TRANSPARENT); int wnow = zoom

How to get rid of the flicker that appears during my animation?

旧时模样 提交于 2019-12-06 08:24:52
I'm learning Java by making a small game in a JApplet. I got a little problem with my sprite's animation. Here is the code : this.sprite.setBounds(0,0,20,17); this.sprite.setIcon(this.rangerDown); for(int i = 0; i< 16;i++) { this.sprite.setBounds(this.sprite.getX(), this.sprite.getY()+1, 20, 17); this.sprite.update(this.sprite.getGraphics()); try{ Thread.currentThread().sleep(100); }catch(InterruptedException e){ } } It left some flicker during the animation. Once the animation end, the flicker disappears, but it's kind of ugly... I guess there is some step I missed. I use this method because

jQuery flicker on slideUp() in all browsers … sample page attached

烈酒焚心 提交于 2019-12-06 07:01:31
问题 I know this has been discussed several times, but I have an issue that is a little different. when .slideUp() is called and the browser wind has been scrolled down to see all the bottom content, it flashes many times as the div is sliding closed. Example page is below, just click where it says to, then slide to the bottom and close one of the upper divs. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>This is the

Flickering during resizing of HTML5 canvas

守給你的承諾、 提交于 2019-12-06 06:58:17
I'm observing some flickering during the resizing of an animated canvas control. You can see it in action at this page . Drag the 'width' slider left and right to try it for yourself. I see this flickering in Chrome 26.0.1410.43 running on Linux. Currently this page won't work in Firefox until it supports HTML5's <input type="range"> . I've tried to reproduce the issue on a smaller scale in this jsFiddle . It's not as noticeable, but occurs for me when the canvas is around 90% of the available width wide. The code traps requestAnimationFrame , and resizing wipes the canvas. I would hope that

常见的EMC测试项目

拥有回忆 提交于 2019-12-06 05:49:09
电磁干扰(EMI)测试 电波暗室测试(Semi-Anchoic Chamber Test) 传导测试(EMI Conduction Test) 干扰功率测试(Disturbance Power Test) 电源谐波测试(Harmonics Test) 电压闪烁测试(Flicker Test) 不连续干扰测试(Click Test) 电磁耐受(EMS)测试 耐静电测试(ESD)IEC61000-4-2、GB/T17626.2 耐射频辐射测试(RS) 耐脉冲杂讯测试(EFT)IEC61000-4-4和GB/T17626.4 耐雷击测试(Surge) 耐射频传导测试(CS) 耐电源频率磁场测试(Magnetic Field) 耐电压变动测试(Voltage Dips & Interruptions) 电磁兼容(EMC)主要测试项目和对应标准介绍 □ 空间辐射(Radiation) EN55011,13,22 、CISPR11,13,22、FCC Part 15&18, VCCI 、GB14023、GB4824、GB9254、GB13837、GB18655、GB/T16607、GJB151A-97 □ 传导干扰(Conduction) EN55011,13,14-1,15,22、CISPR11,13,14-1,15,22、 FCC Part 15&18, VCCI 、GB4824

MFC: How to avoid flickering in child-control updates?

假如想象 提交于 2019-12-06 04:36:22
I'm been googling for days, and all I'm getting are the same answers, but is not what I want (I will describe what I do not want later). What I want is: Say I have a parent dialog that has a few CStatic child controls. The parent dialog uses black as its background when in focus, and gray when not in focus. The child static controls simply display text, but its background needs to follow the parent's background color Problem: I can get the child-controls to always track the parent's color, however the process of updating the color is slow and causes flicker. When I make the dialog to go in

Despite double buffering, the ticker still flickers

北城以北 提交于 2019-12-06 03:49:32
问题 Does anyone have an idea about how to get rid of flickering? I researched on SO, the web, and tried out many different things like putting TickerControl into a double buffered Panel a la Double Buffering when not drawing in OnPaint(): why doesn't it work? etc. besides many other things. It still flickers, not on every repaint, but a couple times per second. Also, even after removing the "g.Clear(BackColor)" in OnPaint, something must still be clearing the background, as the text continues to

Non-Flickering Polling in Angular with REST Backend

只谈情不闲聊 提交于 2019-12-06 01:52:29
问题 I managed getting a constant polling of the backend functional using this answer. But on every timeout the UI is flickering (empty model for a short time). How can I update the model (and the view respectively) after the new data arrived in order to avoid this flickering effect? Here is my current controller (slightly modified from step_11 (Angular.js Tutorial)): function MyPollingCtrl($scope, $routeParams, $timeout, Model) { (function tick() { $scope.line = Model.get({ modelId : $routeParams

Flicker when moving/resizing window

依然范特西╮ 提交于 2019-12-05 22:50:10
问题 I have developed an application to display jpeg images. It can display 4 images, one in each quadrant of the screen. It uses 4 windows for that. The windows have no border (frame) nor titlebar. When a new image is loaded, the window size is adjusted for the new image and then the image is displayed. Especially when the window is made larger, there is often a flicker. With my eyes to slits, it seems that the old contents is moved when resizing before the new contents is displayed. I consulted