Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Issue: Messagebox hidden [22192]

$
0
0
I have a WPF application embedded in a third-party software. My WPF app only has user controls and no windows at all. What does happen is if I call XCeed.Wpf.Toolki.Messagebox.Show(...), click on any other opened app and come back to mine, then the messagebox is hidden behind and it is pretty hard to bring it back. I must kill my app because it his waiting for the user to take action on a hidden messagebox.

I then tried to create an instance of the class and call ShowDialog and play with events, but there is no button, icon and defaultButton properties???

How could I get this messagebox working like the default Windows one? It is almost perfect, unless we click on another app and then we must kill it.

Thank you
Comments: ** Comment from web user: ericpapa **

Those are great news! At my previous position we were having the Plus Edition. At actual job we use the Community one. I found a work-around by creating a window at runtime with topmost property in my XCeedDialogService class I've implemented, added a WindowContainer in which I put my messagebox and had to create a lambda local to set the result on close and close the window within the save method to mimic the regular behavior of a messagebox.

With my trick, I was able to use the dialog as follow : this.DialogService.Show(....), but inside the definition of the method, instead of using directly XCeed.WPF.ToolKit.Messagebox.Show, i had to to the tricks mentionned above.

I'm happy to hear that this will be fixed. Do you know when that release is planned?
Thank you so much for your help.


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>