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 » CExtEdit with theme like ScrollBars Collapse All
Subject Author Date
Andrey Karavashkin Sep 21, 2006 - 9:20 AM

Is it possible to change looking style of CExtEdit’s scroll bars if Prof-UIS library used application? Standards gray scroll bars looks very different from Luna-Blue color cheme.

I tryed to use CExtScrollBar by overriding GetScrollBarCtrl function, but it never calling for CExtEdit or CListBox.
(by the way - why CExtListBox class does not exists in library? you have nothing to add to CListBox? ;)

Prof-UIS 2.54

Technical Support Oct 6, 2006 - 11:18 AM

Yes, you can use this class for skinning scrollbars in the CExtEdit control. Anyway we plan to add this feature later.

Technical Support Sep 22, 2006 - 11:51 AM

The following article explains approach of how to use scroll bar common controls with other common controls instead of built-in scroll bar like non-client areas. This test project implements the approch described in the article (with regard to CExtScrollBar windows).

Andrey Karavashkin Sep 27, 2006 - 1:38 AM

The solution you recomended works perfectly with standard windows controls (pure MFC). But Prof-UIS extended contrils has some behavior that doesn’t works correctly with "ScrollBar skining".

For example: CExtEdit has very special border behavior. Border draws over text and scrol bars, and change color when mouse move over CExtEdit control. With this solution, original control is reduced. So no border draws after scrollbars, and mouse moving over scrollbars doesn’t handle by CExtEdit.

May be this problems may be solved by drawing border from CSkinScrollWnd (Skin window - see test project), but it required implementation border-draw logic for each CExt* Prof-UIS control in CSkinScrollWnd, IMHO.

Any ideas for scinned scrollbars in CExtEdit?

Technical Support Sep 29, 2006 - 2:02 AM

The skinned scrollbars in the standard control is in out TO-DO list and only the CSkinScrollWnd class can be helpful now.

Andrey Karavashkin Oct 4, 2006 - 3:03 AM

You means that CSkinScrollWnd can be used for skining scrollbar in CExtEdit, isn’t it?