NickOverflow
NickOverflow

Reputation: 38

Windows Within An App

My C# WPF application has multiple windows, which may be open at once. One of these windows is for Notifications, and must remain Topmost (or like), until it is acknowledged. The problem I am having is that when I set Topmost=true; the window will display on top, but later windows must be closed before the buttons on the Notification window can be clicked.

I have tried, BringIntoView();,Activate();, Focus();,and Calling Show(); again.

All of these fail, what am I missing?

Thanks in advance

Upvotes: 1

Views: 44

Answers (1)

Pete
Pete

Reputation: 11495

Are the other windows invoked modally? E.g. with window.ShowDialog()? Doing so will trump any "topmost" settings of non-modal windows.

Upvotes: 1

Related Questions