Comments (3)
This might be because you're using an older version of embed-resource
crate, try using the latest version (v2.4). It definitely worked for me with the latest version when I tried it last month.
from native-windows-gui.
Didn't help, updated the example to v2.4
Do you mean your wsl-usb-manager? I doesn't seem to have a Bitmap builder, but an icon from the embedded string
Or is there a different working example you could point to?
from native-windows-gui.
During the development of wsl-usb-manager
I tried displaying a bitmap as the image of a tray notification, and I was able to retrieve the app icon BMP from the resource manifest. I scrapped that feature in the end, so there is no code example I can show you sadly.
from native-windows-gui.
Related Issues (20)
- The procedure entry point "GetWindowSubclass" could not be located HOT 1
- Add LVS_AUTOARRANGE to ListView flags
- Cannot set default extension in save dialog
- Async functions as event handlers don't work as expected
- Missing column index parameter for `ListView::column_width()`
- System Tray does NOT disappear on console exit
- Dynamically edit existing menu items HOT 1
- Allow adding icon to Menu and MenuItem HOT 5
- Layout-insensitive menu key accelerators (working with non-latin layouts)
- Attaching a tooltip to a menuitem
- Accept PathBuf as source_file type
- Allow seting WS_CAPTION on window creation
- Shouldn't AnimationTimer reset on multiple starts prevent any ticks?
- Align size types for imageframe and its builder
- Window's set_position doesn't seem to take dpi scaling into account
- How to remove padding for a single ImageFrame in a single popup Window
- Avoid GDI DC exhaustion from calling DPI
- Set tray notification duration
- Register global hotkey
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from native-windows-gui.