-
Notifications
You must be signed in to change notification settings - Fork 190
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 use native Win32 Shell ImageList in WinUI3 - Implementing ExplorerBrowser for WinUI3 #444
Comments
@tajbender I haven't done much with WinUI. There is a package called |
@dahall Thank you very much. I really appreciate this. I thought about aligning the interfaces of the That way Migrating that stuff from there to the WinUI-Version within Vanara would just be a piece of cake. I'll let you know as soon there's something to talk about. Have a nice Easter! |
Cool! Thanks. Happy Easter to you too! |
btw, they have done an excellent job with WinUI3, in my humble opinion. I've never worked with WPF and UWP before, but WinUI3 is straightforward as soon you get the point. They generate code-behind for the UI while compiling, this way, the UI-stuff is amazingly fast. They also use DirectX / DirectDraw for rendering stuff. On the other side, you can use WinRT for the abstraction layer to OS for DOS, manipulating HWND settings / Messaging and so on: 🍔 👍 |
Done so far. |
addendum: These classes my help out: https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/win32/microsoft.ui.interop/ |
addendum: This should do it, for single images:
https://learn.microsoft.com/en-us/dotnet/api/system.drawing.systemicons?view=windowsdesktop-3.1 |
@tajbender What type(s) do you want converted from and to? I don't have a |
@dahall Thanks for Reply, but you don't have to care about the Notes above. You're right, with Using Win32 you can pass this Handle to your Anyway, you don't have to care about these comments, these are reminders for myself. Sorry for confusion and bothering, anyways Thank you very much, |
I think you may be able to use |
That's what Copilot says 👌 I'll try this asap. Thank you very much 👍 |
@dahall: I uploaded an YouTube-Video That's the current state of the WinUI3 Shell - Components I'm working on, using Vanara.
![]() You may look at the current branch here. I still may need your help on some occasions, but I'm satisfied for now 😀 Just for your Info, regards, tajbender |
I just committed a class I'll use for this: |
Thank you very much. This will help a lot. 🥇 |
Dear @dahall Love 4 support 🧑⚕️ Currently, ⚽ European Championships take place in Germany, so no time no money 🍰 I used the new code already, it works stable 🥇 The next days, I will create a Pull Request for merging the stuff I have so far to Vanara. It still is WIP. But some review would help a lot. Regards, tajbender |
Hi, @dahall I used the I'm new to that multithreading stuff, but anyway I get some strange behavior: Enumerating the same Folder again and again when navigating through the pages and views,
Everytime In Fact, it should be 63 items... I'll investigate further 🤔 💭 Have a nice, sunny day 🌞 |
Is your feature request related to a problem? Please describe
I'm using WinAppSDK for some months now.
I wonder how to use a native System Win32 API ImageList in UWP / WinUI?
No changes to Vanara needed, i guess.
Any Idea, David? Thx.
Describe the additions or enhancements you'd like
// convert system wide shellItemList into xaml based type
var winUIxamlObject = Vanara.*.SysImageList as || .SomeConversion()
The text was updated successfully, but these errors were encountered: