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?
I am having the same issue even though I don't change the border style. None of the workarounds in the link work. I don't understand how this is a Microsoft issue when MessageBox.Show() works but Infragistics.Win.UltraMessageBox.UltraMessageBoxManager.Show() doesn't.
Hi Wolfgang,
I only have this problem in the visual studio environment and as you already mentioned, disabling the visual studio hosting process solves this.When i run the project from the executable i dont have this problem either way. I can't remember for sure if we had this problem at first as well from running the executable but i think we did.
In the meantime we upgraded all our projects to .Net framework 4.0 including the infragistics components. The problem is still there in the visual studio environment when you have the hosting process enabled, but perhaps it's worth a shot for you to check if that solves your executable environment.
If you have a small project i'm also willing to try it out on our system. I hope this helps.
Regards,Jacob Iedema
I'm also experiencing this problem since I changed from VS 2010 to VS 2012. I've tried 2nd and 3rd workaround as mentioned on the Microsoft site but nothing of them did change anything on the message box size. I've run the debug version of our application from Windows Explorer instead out of VS 2012, even built the release version but all show this behavior. I assume that Visual Studio 2012 Host Process won't be involved if I start the executable out of Windows Explorer, or?
I've now installed the latest Infragistics NetAdvantage Hotfix 2012.2 2018 but that does not bring in any new.
Any further ideas?
Regards, Wolfgang
Hello,
This is a Microsoft issue. The issue involves the size of the form when the FormBorderStyle of a form is changed in code, while the Visual Studio 2012 Host Process is being used.
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
Please let me know if you have any further questions.
I have just noticed this same behaviour in a project I am working on. Will this be rectified in a future release?
Thanks,
Sean