-
Notifications
You must be signed in to change notification settings - Fork 70
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
window: message dialog not in foreground when launched from a window-less process #203
Comments
As a test, I added rfd/src/backend/win_cid/message_dialog.rs Line 65 in 6f9062e
which fixed the issue. Would you be open for a PR that extends the API to allow setting this flag? Reference: https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-messageboxw |
ping @PolyMeilex |
Sure, I would probably just make it the default and call it a day |
Making it default may have undesired consequences:
|
Hi
This is exactly the crate I needed to prompt the user with a message. However, my process on runs in the background without a main window.
On Windows, the dialog appears in the background (behind other open windows like browser, etc.). It is visible in the task bar, but the user is not going to notice this easily. Is there a way to open the dialog in the foreground, or to add support for this somehow?
The text was updated successfully, but these errors were encountered: