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

[Feature request]Splash Screen with controls #1002

Closed
ms-somanna opened this issue Oct 2, 2021 · 6 comments
Closed

[Feature request]Splash Screen with controls #1002

ms-somanna opened this issue Oct 2, 2021 · 6 comments

Comments

@ms-somanna
Copy link

ms-somanna commented Oct 2, 2021

The inbuilt splashscreen feature of wpf provides for the display of a static bitmap image as splashscreen.
This disallows the use of dynamic controls such as progress bars and loading indicators.
So I request an implementation of A splash screen with controls including dynamic controls such as progress bars and loading indicators.

@ghost1372
Copy link
Member

There is SplashWindow in the unofficial version, does it not meet your needs?
https://hosseini.ninja/handycontrol/persianToolkit/splashWindow/

@ms-somanna
Copy link
Author

There is SplashWindow in the unofficial version, does it not meet your needs?
https://hosseini.ninja/handycontrol/persianToolkit/splashWindow/

I'll try it.

@ms-somanna
Copy link
Author

There is SplashWindow in the unofficial version, does it not meet your needs?
https://hosseini.ninja/handycontrol/persianToolkit/splashWindow/

It's working but with one issue. The main window doesn't get focus (is minimised) once the splash window closes.
I've followed the docs to set up the splash window and I'm using visual studio 2022 preview 4.

@ghost1372
Copy link
Member

There is SplashWindow in the unofficial version, does it not meet your needs?
https://hosseini.ninja/handycontrol/persianToolkit/splashWindow/

It's working but with one issue. The main window doesn't get focus (is minimised) once the splash window closes.
I've followed the docs to set up the splash window and I'm using visual studio 2022 preview 4.

Can you attach a gif?

@ms-somanna
Copy link
Author

Here
splash_hides_main_window.gif

@ghost1372
Copy link
Member

ghost1372 commented Oct 4, 2021

This is not a splash screen problem and is a normal WPF behavior. also This is not minimized, By default, the MainWindow is displayed by Show Method (Not ShowDialog)
And because the splash screen is displayed before the mainWindow, the focus is on it.
You can use the P/Invok functions to get focus on the mainwindow or simply just set Topmost=true

with topmost

asdasd

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

2 participants