Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stacking Notifications #40

Closed
didriksg opened this issue Jun 25, 2017 · 7 comments
Closed

Stacking Notifications #40

didriksg opened this issue Jun 25, 2017 · 7 comments

Comments

@didriksg
Copy link

Is it possible to control the Z index of several Notifiers? I have experienced that if I use more than one notifier in my application (with different settings like liftime etc.) they tend to stack on top of each other. Is there any way I can control this?

@rafallopatka
Copy link
Owner

Every Notifier produces its own window in which notifications are displayed.
If you could create a example how to order child windows in WPF application I could add this mechanism to notifier in some way :)

@didriksg
Copy link
Author

didriksg commented Jun 26, 2017

I do not think WPF windows support Z-indexing, but you could maybe do something like Window.Focus(), Window.Activate() or Window.Show() for a simple fix. Maybe properties like the Window.TopMost would work in a way as well? I think that being creative with the focus, activate and show methods, that it would be possible to make an easy (and maybe a bit too simple) fix.

If you do not want to add this to the official repo, where should I eventually start to make my own fix? :)

@rafallopatka
Copy link
Owner

rafallopatka commented Jun 26, 2017 via email

@didriksg
Copy link
Author

I will look into it. Thanks for your help! :)

@b-mi
Copy link
Contributor

b-mi commented Jun 26, 2017

In application with one notifier in Window is all ok, if TopMost option is false - window deactivation / activation hide and show notifications, and move them if Window is moved.
This do not work, if (more) Notifiers are attached to Controls in (WPF MDI) application. Then hiding / showing / moving of notifications do not work like it work on Window. Is this similar to your scenario?

@didriksg
Copy link
Author

didriksg commented Jun 26, 2017

Setting the topmost property to true on the notifier I wanted ontop worked for my use, so no worries :)

@rafallopatka
Copy link
Owner

rafallopatka commented Jun 26, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants