Hi,
Is it possible to popup your own customized Dialog?
Hello,
Could you please clarify what exactly do you mean by 'customized dialog'? I will be happy to assist you further on that matter.
The window shown in ultraDesktopAlert is built in. User can only set the message in it. What i need to customize that window so that i can add controls in it. Or in other words if i create my own window with my own customized controls in it, can i popup my window in the same way ultraDesktopAlert window shows?
Please do let me know if you get my point else wise i will prepare a simple demo project for you.
Thanks.
A possible approach to achieve this might be by using a 'CreationFilter'.
You could read about it at the following link: http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/Win_Creation_Filter.html. Here are some topics from our community which could also help you: http://community.infragistics.com/forums/t/34485.aspx, http://forums.infragistics.com/forums/t/47561.aspx http://community.infragistics.com/forums/t/58186.aspx, http://community.infragistics.com/forums/t/9989.aspx and http://community.infragistics.com/forums/t/50234.aspx. The above approach is not so recommended, because it features element's resizing, creating or removing and could lead to some unexpected behaviors.
I created a sample for you to demonstrate what I mean. Please take a look at it.
If you are not satisfied I could log a new product idea for you, if you want.
Please do not hesitate to ask if something comes up.
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
I want to show desktop alerts in messenger style. Which UI element should i use?
Could you please upload a screenshot of this, as I am not aware of what you require? Thank you in advance.
Please check the image in attachment. I want to customized this message window.
Thanks, this solve the issue.
If you mean that you do not see the button, I think this is because the window is now smaller so you should also move your button, like this:
buttonUI.Rect = new Rectangle(100, 10, 100, 20);
Please try that out and let me know of the result.
I have tried the same with your code, but the newly inserted elements does't show. Do i have to do some thing else with the code?
This could be achieved through the following code:
ultraDesktopAlert1.Style = DesktopAlertStyle.WindowsLiveMessenger;
right?
So I tried it and it works fine with my CreationFilter implementation. You could try it in my sample and let me know if it meets your requirements.