-
Notifications
You must be signed in to change notification settings - Fork 15
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
How to add an icon for task bar? #5
Comments
Hello, It's been a long time I haven't worked on Win32 GUIs, and it was not in Go. I tried a console app, and Windows does that for you: it takes the first icon it finds and sets it as the console window's icon. |
@tc-hib I found solution! Should have been added this in
|
Hello, thanks for the feedback. I find it strange, but who knows, that could be a default name for the window's icon. If that's the case, maybe I should talk about it in the readme. |
On a side note, I don't know if your json was the real thing, but you shouldn't use the same image several times in the same icon Instead of "APP": {
"0000": [
"icon.png",
"icon.png",
"icon.png",
"icon.png"
]
} use "APP": {
"0000": "icon.png"
} |
Hi, I removed all properties exclude "IDI_ICON1": {
"0409": "icon.ico"
} It works great for any cases. The app has an icon anywhere |
Hi, I use go-winres in own Go Qt UI project. I added an icon for the app, and the icon display anywhere but task bar. How to fix that?
If create lnk file for binary file, the icon will be display. But if run binary directly the icon will not be display.
My res config for icon:
Result:
The text was updated successfully, but these errors were encountered: