Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtComboBox flicker problem Collapse All
Subject Author Date
Offer Har Feb 17, 2008 - 8:36 AM

Dear Support,

I have a combo-box derived from CExtComboBox, which is Owner-Draw Fixed and Has Strings true.
I noticed that each time I redraw the combo-box it flickers - when I move the dialog, and I call Invalidate, when the mouse hovers over it etc.
I placed a break-point in the beginning of my DrawItem, and I noticed that the combo-box is first drawn in the normal Windows style, and only after the end of the DrawItem it gets the ProfUIS skin, hence the flicker problem.
How can this be fixed?

Thanks,
Ron.

Offer Har Feb 22, 2008 - 6:03 PM

I sent you clips showing the problem in both original code, and your suggested modification - did you receieve it?

Technical Support Feb 21, 2008 - 6:57 AM

We replied to it.

Technical Support Feb 21, 2008 - 5:45 AM

We received your e-mail and replied to it.

Offer Har Feb 20, 2008 - 9:00 AM

Were able to reproduce the problem?

Technical Support Feb 18, 2008 - 7:10 AM

We received it. Thank you.

Offer Har Feb 18, 2008 - 5:50 AM

Dear Support,

I am sending you a project by mail - please acknowledge so I know that you received it.

Thanks,
Ron.

Technical Support Feb 18, 2008 - 3:22 AM

The new combo box skinning code does not affect the client area of the combo box window nor the client area of the list box window as the embedded or popup part of the combo box common control. Could you create a simple dialog based test project, put your combo box into it and send this project to us?