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]: Use KryptonForm 'Blur' facilities when displaying a messagebox #56
Comments
I'm confused..
@Wagnerp |
PR with test modifications: |
The window behind the messagebox needs to be blurred to attract the user's attention, but go back to 'normal' once the messagebox goes away. But this should be optional in the arguments to give the developer freedom based on his/her needs. |
I disagree about it being an option in the MessageBox params, as this is set in the Owner form. |
Is it possible to 'feed' the blur values to a |
It is not "Enabled by default", but if the Developer knows they are calling a Messagebox and wants to blur just for that occasion, then - as per the code snippet behind the gif above - they can just set it for the duration of the MessageBox call. |
I was thinking for the duration that the messagebox is shown, as the owner would have lost its focus until the messagebox is dismissed. |
if (chkUseBlurring.Checked)
{
BlurValues.EnableBlur = true;
BlurValues.BlurWhenFocusLost = true;
}
else
{
ResetBlurValues();
} |
During the testing of this feature "turned on for for messageBox", I found 3 other bugs
These will need to be raised,and related back to this. |
Hold on, with the Dpi scaling is really... really bad on Windows, especially in 4k! |
So... could there be a way to 'set and forget' these values in a application? (i.e. values can be adopted by every single |
It would have to be at the KManager / Theme level, Also if it is a KryptonMessageBox (Or alert or other pop-up style based of |
Going to start a new thread to discuss this idea, but might have an idea for 'special cases' |
Issue closed |
As title states.
The text was updated successfully, but these errors were encountered: