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

WPF .NET 7 - Remove the namespace from the build in ballon #99

Open
Zeleksonob opened this issue Mar 7, 2023 · 3 comments
Open

WPF .NET 7 - Remove the namespace from the build in ballon #99

Zeleksonob opened this issue Mar 7, 2023 · 3 comments
Labels
Question Further information is requested

Comments

@Zeleksonob
Copy link

Zeleksonob commented Mar 7, 2023

Is there a way to remove the namespace name each time I'm shown a build in ballon?

12

@Zeleksonob Zeleksonob changed the title WPF .NET 7 - Remove the namespace from the custon ballom WPF .NET 7 - Remove the namespace from the build in ballon Mar 7, 2023
@Lakritzator
Copy link
Collaborator

This is for the build in notification ballons, and that text is the title of the application process (or the name of the .exe) which showed it, to my knowledge you cannot simply change it.
That is where a custom balloon helps.

@Lakritzator Lakritzator added the Question Further information is requested label Mar 7, 2023
@Zeleksonob
Copy link
Author

Thanks for the answer,
follow up question:
can I control the timeout of this ballon or is this apply also only to custom ballon?
If not, could you guide me or give me a hint as to where I can't find these windows templates for the ballon?

@Lakritzator
Copy link
Collaborator

If I recall correctly the timeout of the default balloon could be specified by the app when it's running under Windows 2000 or XP, after that (Windows 7 and later) it was controlled on a system level.

A yes, here it's documented: https://learn.microsoft.com/en-us/windows/win32/api/shellapi/ns-shellapi-notifyicondataa

About the custom balloon, if you look at the method ShowCustomBalloon (in TaskbarIcon) you can specify the timeout there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants