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 scroll-bar not skinned Collapse All
Subject Author Date
Offer Har Jun 15, 2007 - 3:33 PM

Dear Support,

Is there a way to skin the scroll-bar of the drop list of an CExtComboBox?

Thanks,
Ron.

Technical Support Jun 16, 2007 - 11:53 AM

The CExtComboBox class implements a skinned/improved version of the combo box common control, but it uses the standard popup list box provided by the basic implementation of this control. If we decided to replace this popup list box control, that would mean to implement the combo box from scratch.

Offer Har Jun 17, 2007 - 6:26 PM

I still think that is looks a little strange that the whole applications is skinned, and then suddenly you get this old scroll-bar.

Technical Support Jun 18, 2007 - 9:36 AM

We agree with you. This feature is still in our to-do list. The main problem is that such a scroll bar in a standard control is not a separate window but part of the control’s non-client area. So the HWND-based CExtScrollBar cannot be used here. There is an article at CodeProject that demonstrates an approach to using scroll bar common controls with other common controls instead of built-in scroll bars. You can also download our test project that implements the approach given in the article (with regard to CExtScrollBar windows).

Offer Har Jun 19, 2007 - 6:12 AM

Dear Support,

I see that skinning the list box is possible (from the codeproject project), but i could not find it in the sample project - correct me if I’m wrong.

Thanks,
Ron.