Is it possible to show a checkbox in the footer of a messagebox?
The reason behind this is that we need functionality on certain messageboxes to show a "Do not show again" messagebox to allow users to turn off warnings etc.
I've looked around for a way to do this but have not been successful so far.
Hi,
I have added a sample illustrating how you can add the checkbox to the messagebox footer via creation filter.
Let me know if this works for you.
Regards,
Stefaniya
Hi Stefaniya
Thats great. I'm using VB.net but it wasnt too bad to convert from your sample. Thanks for your help.
One other minor question that i wondered... Is there a way to reduce the height of the footer area?
Steve
You can adjust the footer height in the creation filter via its FooterAreaUIElement Rect object similar to the way you could set the Rectangle for the checkbox.
Let me know if you have further questions.
Hi again
Sorry i'm really struggling to achieve the result i need. I might just be doing it wrong so i wondered if you're able to provide a line of code to resize the footer?
I managed to resize the element however the messagebox was still showing the footer area.
I have attached a modified sample with comments for each step in the creation filter.
Let me know if this is helpful.
How would one add more customized buttons to ultraMessageBoxInfo possibly replacing the standard messageinfo buttons with my own?