Hi,
Last week we upgrade Visual Studio from 2010 to 2012. Since then we noticed a small change in how the UltraMessagebox is being displayed.The margin below the buttons is gone. As a result the buttons are touching the bottom border.
After we noticed this we also upgraded Infragistics to 2012.2 but this didn't change anything.
Is there any way i can get a margin below the buttons?
Hello ,
You could avoid this with simple implementation of CreationFilter, please see attached sample.
Please let me know if you have any further questions
Solution works but still looks a bit weird and it seems to me that this is a work around instead of a permanent solution.
Would look better if it's possible to expand the button area in height. Is this possible?
Hello Hristo,
According to you video I tried to edit the project file with no luck.
VS2012 is telling me that I am using an invalid child element "SubsystemVersion" within the element "PropertyGroup"
I am using VS2012 Update 3 with TargetFramework 4.5
Any ideas?
Hi Thomas,
I tried it now with a Playground project of mine, it works fine as a .NET 4.5 project and I'm using VS2012 update 3 as well which doesn't complain about invalid child element SubsystemVersion within element PropertyGroup. I've attached my Playground.csproj-file to this post, you can find the SubsystemVersion element on line 48. With that message boxes using UltraMessageBoxManager are shown correctly.
If needed I could also provide you with the entire project so that you can try to load that on your PC.
Regards, Wolfgang
Hello Wolfgang,
I have attached an image showing the message in VS2012.
Anyway, it works fine now. I missed to disable host process when debugging as mentioned in an earlier post.
Many thanks,
Thomas
your problem is rather interesting since without the SubsystemVersion element being present in the project file the message boxes are not shown appropriately. I've tested that right now by commenting out the SubsystemVersion element and then the buttons touch the lower border of the message box. This means, that VS2012 seems to be confused about this element but when running it this works correctly. Have you tried to close and reopen VS which helps often when it shows weird warnings or behaviors on my machine?
I don't know what the ToolsVersion attribute in the root element Project is used for but this could maybe be also different? In my project ToolsVersion is 4.0
Regards Wolfgang
Hi Wolfgang,
Restarting VS does not change anything and the ToolsVersion is 4.0 in my project also.
However, it works anyway. Thanks for your help.
Kind regards