Hi
I'm using Styles with Winforms and wanted to try new UltraMessageBoxManager class for Messageboxes, it looks like buttons are styled but not MessageBox it self, is there any why I can make it to have a style like form behind the message - OfficeBlack2007
Thanks
Krzysztof
Hello Krysztof,
Whenever a new control/component is released, we provide updated style libraries that providing styling for the new components. Are you using a Office2007Black style library from one of the NetAdvantage 2010 Volume 1 or Volume 2 releases? These are the only currently available style libraries that will fully style the UltraMessageBox. With your current style library, the buttons are being styled due to them receiving its style information from a base UIRole.
If you require further assistance, please let me know.
Thanks,
Chris
Hi Chris
I'm using styles from 10.1
<styleLibrary office2007ColorScheme="Black" office2007CustomBlendColor=""> <annotation> <lastModified>2010-03-16T19:04:36</lastModified>
Can you please let me know where from can I download the latest style libraries to fix this issue?
Krzysztof,
Based on the information you provided, the style library should have the style information for the UltraMessageBox.
Looking at the XML for the Office2007 style libraries, the styling for the UltraMessageBox is designed so the content and button areas remain unchanged (i.e. white and grey respectively). The theme-specific styling is placed on the header and footer sections, which is why do not notice any styling for your UltraMessageBoxes.
As with any of the style libraries, you can customize them using the NetAdvantage AppStylist. The UltraMessageBox appears on the 'Messages' canvas.
Maybe it is not clear from the picture as it was cut to fit, My main problem is that title bar stays Blue and not Black like window behind the MessageBox. Please have a look at the picture again, what I'm saying is that title bar (with close button and the border should be painted in black and not blue) as this is BlackOffice2007 style.
I apologize for the misunderstanding. Unfortunately, the UltraMessageBox does not provided the ability to style the dialog's border/caption.
To demonstrate your interest in this functionality, I would suggest entering a feature request so our product management will consider this feature for a future release.
10 years later - do we have this feature of styling the title bar?
Hello Henrik,Unfortunately, this feature has not made it onto our backlog created by our product management. However, you should be able to programmatically add an UltraFormManager to the UltraMessageBox dialog using the sample code provided on this forum post.
Let me know if you have any questions.