DmitryGaravsky / AutoClosingMessageBox

The MessageBox which automatically closes after the specific timeout.
MIT License
40 stars 14 forks source link

Focus? #5

Closed bazzacad closed 4 years ago

bazzacad commented 4 years ago

How do I give it focus so it shows up on top of other windows?

DmitryGaravsky commented 4 years ago

Hi,

Thank you for your question.

The AutoClosingMessageBox is only the wrapper to the MessageBox class, thus you can use the same approaches here:

Please try this solution, and let me know your results.

Related Links: Why isn't MessageBox TopMost? MessageBoxOptions Enum