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 General Discussion » Underline when docking on top Collapse All
Subject Author Date
Chandler Bing Aug 22, 2005 - 1:54 AM

I find that office2003 products like outlook2003 ,the menubar or toolbar has a underline when docking on  the top .Does prof-ui has this feature.

Technical Support Aug 22, 2005 - 5:31 AM

From your message it is not clear what line you mean. Could you provide us with a screenshot on which this line is exactly marked?

Chandler Bing Aug 22, 2005 - 10:23 PM
Technical Support Aug 23, 2005 - 12:17 PM

Thank you for clarifying the issue. Yes, we can see this line. The thin dark line is a custom part of a particular application. By using the CExtWRB template class provided with Prof-UIS, you can add a similar dark border to any window. If you need to add the border to the top side of some window only, than you should handle the WM_NCCALCSIZE and WM_NCPAINT standard messages in this window. To get the border color consistent with the currently installed Prof-UIS theme, just invoke g_PaintManager->GetColor( COLOR_3DSHADOW ) or g_PaintManager->GetColor( COLOR_3DDKSHADOW ). Of course, we can help you code this task if you provide us with more details about your application or send us your project.

Chandler Bing Aug 23, 2005 - 10:13 PM

 


Thank you!