Hi all,
While this is not specifically related to the grid it applies. I am building an Excel add-in and I would like it to have to cool look and feel of Infragistcis controls. For some reason all the controls have the dated Win 98 look and feel. The buttons, grids, drop downs all look like the old school controls we love so much. Does anybody know why this is? Is it even possible to have the controls styled with one of the Infragistics themes?
Thanks,Matei
Hi Matei,
AppStylist does not have any support for the built-in Excel controls.
Hi Mike,
Thanks for the reply. I'm not talking about the Excel controls, sorry for not being clear enough. The Excel add-in just bootstraps a wizard like application that is build using Infragistics controls. When the forms display they have the dated looks and feel of a Windows 98 application. Some of the same forms are displayed from a standalone Windows Forms application as well and they have the correct look and feel.
I think I am missing a step that enables the visual styles on the forms that I display from Excel. Any ideas what that step might be?
Cheers,Matei
Thanks for the tips. That what I ended up doing, as there are forms that are shared anyway between the Add-in and the main WinForms app. It looks like I also need to include an UltraWinToolBarsManager on the form and turn off IsGlassSupported and change the FormDisplayStyle to Rounded...
Thank!Matei
Well, we don't officially support the WinForms controls in an Excel environment, so I'm not sure it will work.
But the way you load a style library in a DotNet application is by calling the StyleManager.Load method and passing in an isl file or a stream of an isl file. So if you have access to your regular DotNet application code, you could search for references to the StyleManager and copy that code into the Excel application.