-
Notifications
You must be signed in to change notification settings - Fork 886
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
Creating a modal window #626
Comments
You may want to try SetWindowPos from the |
I tried to follow your suggestion, took the |
Use mw.Handle() |
@lpintes Thanks for your suggestion, but are you sure ? I can't find
|
Hello, var mw walk.MainWindow Then in window declaration, in the MainWindow { ... }, add a line Then later in the code you can use mw.Handle(). |
@lpintes Thanks again, I'm getting closer. I defined the variable like this (without When the |
You should do it similar to the actions example. Switch from calling |
Thanks to @lxn and @lpintes I came up with this solution (based on
|
I need to create a window that can not be put into the background and stays on top of all windows until I close it after a certain button has been clicked.
Normally such behavior is not good style but in this case it is necessary to make sure that I have the full attention of the user because the information displayed in the window is of type "stop the world".
From what I know this would be "modal" or "system modal" but didn't find a way to create such a window with walk.
Is this possible ? It wouldn't matter which API of walk enables me to do this.
The text was updated successfully, but these errors were encountered: