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?
Hi all,
I've used Hristo's postings to finally get the UltraMessageBox(es) look nicely. I'm summarizing my experiences.
As Hristo showed in his Video I've set the SubsystemVersion to 5.01 (this description from MS shows that 5.01 is Windows XP). It is important to do this on the project of the executable. In our solution the project using the UltraMessageBox is built into a DLL so my first try was to set it on that project which didn't change anything. It must be set on the project where the startup code of the application resides. The SubsystemVersion has to be set for all configurations (Debug/Release) so that the UltraMessageBox will be shown appropriately also in the Release version of your application.
Furthermore I've unchecked the checkbox 'Enable the Visual Studio hosting process' as suggested as a workaround on the Microsoft site. This is necessary just for the configurations you want to debug from within Visual Studio. In most cases you won't run the release version from within Visual Studio so you don't need to set it for the Release configuration.
With those changes it works fine with Visual Studio 2012, .NET 4.5, AnyCPU on Windows 7 Enterprise 64 bit both in the Debug and the Release configuration.
Regards, Wolfgang
Hello,
As I already mentioned this is not Infragistics issue, and if you review the link where the public MS Bug was described you will see that MS propose a workaround for .NET 4.5
http://connect.microsoft.com/VisualStudio/feedback/details/759413/winform-dialogs-displayed-differently-by-vshost-exe-and-exe-using-vs-2012-when-formborderstyle-set-in-form-codebehind
“. In order to achieve runtime parity between NETFX 4.0 and 4.5, when building a manually change SubSystemVersion compiler option in the project file targeting NETFX 4.5, to a value lower that 6.00, see this article for details:http://msdn.microsoft.com/en-us/library/hh965708.aspx For example: add the following property to your project file: "<subsystemversion>5.01</subsystemversion> "Note that 64bits does not support all subsystem versions numbers.”
I have captured a video how you could apply this workaround.
Please let me know if you have any further questions.
Any word on this?
It looks like disabling the hosting process works in .NET 4.0 but does not work in .NET 4.5. The creation filter does work in 4.5 but I don't want to do that throughout my project. That is a hack. Also, I don't think I should have to change my hosting process to get your message box to work. If the default message box works in .NET 4.5 then so should the Infragistics one. Is there a plan to get this fixed?
On the following link is demonstrated how you could avoid this behavior.
http://www.youtube.com/watch?v=XVbpYOsxJdg&feature=youtu.be
If this doesn’t work for you, please provide show us what exactly happen on your machine and also could you please provide us a sample that demonstrate your issue.
Thank you for using Infragistics Components.