Professional UI Solutions
Site Map   /  Register


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 General Discussion » Text Color Collapse All
Subject Author Date
Anil Siddhpura Oct 22, 2008 - 2:11 AM

1. I want to enlarge the size of print preview toolbar.


2. How can I get the current theme color ?


3. How can I set the text color of PageContainer control ?

4 .How can I set the text color of each control exist in my project ?

Technical Support Oct 25, 2008 - 8:45 AM

1. What exactly you want to change? The height of a toolbar or the height of each button so their icons look bigger?

2. There are many theme colors. What the color exactly you wants to retrieve?

3. We guess you mean the text color of the captions in the CExtPageContainerWnd control. This page caption is measured in the CExtPageContainerWnd::OnPageContainerMeasureCaptionSize() virtual method and painted in the CExtPageContainerWnd::OnPageContainerDrawCaption() virtual method. You should override this method to paint text with a custom color.

4. Many controls in Prof-UIS have the SetBkColor()/GetBkColor() and SetTextColor()/GetTextColor() methods which are used for changing their text and background colors. If you need to change some color in some control, first take a look at these methods in the corresponding classes.