Short flicker of windows default control color on control create

Hi,

I'm experiencing a short flicker of the default windows control color when I create the following control: Control
In this screenshot you can see the flicker Flickering control
Although this is only for a very short momement, it's noticeable and I'd like to get rid of it. Any idea what might be wrong or what needs to be done

Thanks,

Tom


Answer this question

Short flicker of windows default control color on control create

  • TMBTC

    Hi Tom,

    Did you solve your problem Not only user control, the common control like button also have this problem: http://210.17.239.11/t/DSCN10421.wmv

    The second form is created by VB2005. The first one is created by VB6. Both have short flicker but VB2005 is most serious. If you have any idea, please help...

     

     



  • Alain Lissoir

    Unfortunately, I haven't found a solution yet. The same is happening on other machines as well and I'm not loading any big bitmaps that would cause the delay. There is not a whole lot going on when the control is created except assigning short generic lists to the combo boxes...

  • Stephen Inglish

    Can you verify if the flickering happens only to specific machine and/or specific OS I once have the same problem, and it appears that my control's painting flickers only to Windows XP when the OS has XP Styles installed.

    Another thing to consider is, probably you're loading large bitmaps (though your controls doesn't look like something that comes from bitmap) or you're doing some process-initialization that may delay the painting of your control a little.

    -chris

  • Short flicker of windows default control color on control create