Comments (14)
Cool! Thanks. Happy Easter to you too!
from vanara.
@tajbender I haven't done much with WinUI. There is a package called Vanara.WinUI.Extensions
where we can land anything you want to add. Right now, that assembly is pretty light. I'll accept any PR you post.
from vanara.
@dahall Thank you very much. I really appreciate this.
I thought about aligning the interfaces of the WinUI3 ExplorerBrowser
aka ShellListView
/ ShellTreeView
that I'll implement the next days to those of Vanaras Win32 Ones.
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!
from vanara.
@tajbender I haven't done much with WinUI.
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: 🍔
👍
from vanara.
Done so far.
from vanara.
addendum: These classes my help out:
https://learn.microsoft.com/en-us/windows/windows-app-sdk/api/win32/microsoft.ui.interop/
from vanara.
addendum: This should do it, for single images:
Bitmap bitmap1 = Bitmap.FromHicon(SystemIcons.Hand.Handle);
Graphics formGraphics = this.CreateGraphics();
GraphicsUnit units = GraphicsUnit.Point;
RectangleF bmpRectangleF = bitmap1.GetBounds(ref units);
Rectangle bmpRectangle = Rectangle.Round(bmpRectangleF);
formGraphics.DrawRectangle(Pens.Blue, bmpRectangle);
formGraphics.Dispose();
https://learn.microsoft.com/en-us/dotnet/api/system.drawing.systemicons?view=windowsdesktop-3.1
from vanara.
Related Issues (20)
- A great project! HOT 1
- #nullableenabled brunch is not being merged into master HOT 4
- Kernel32.FILE_ID_128.Identifier returns incorrect values
- [Bug] MB_GetString make exe crashed and ExitCode is 3221226356 (0xc0000374) HOT 2
- RobiniaDocs API Explorer HOT 1
- Can not GetLastError HOT 1
- CM_REGISTER_NOTIFICATION callback: Incomplete eventData.u.DeviceInstance.InstanceId HOT 2
- FindNextPrinterChangeNotification SafePRINTER_NOTIFY_INFO is invalid HOT 2
- missing definition for StorageDeviceSeekPenalty. HOT 1
- [Bug] GetRawInputDeviceInfo can not use CharSet = CharSet.Auto HOT 4
- Interface not supported Exception while using the set operaiton in IMAPI HOT 2
- User32.GetWindowLongAuto throws an exception if result is 0 HOT 1
- OverlappedAsyncBaseResult does not make processed bytes available. HOT 1
- Missing unions in FwpUClnt FWPM_* structures HOT 1
- PInvoke.IpHlpApi.GetExtendedUdpTable give wrong port HOT 3
- WTSApi32: Wrong variable used to create dateTime HOT 1
- Wrong Marsha.SizeOf for MODULEENTRY32 HOT 2
- Wrong values in Kernel32.READ_DIRECTORY_NOTIFY_INFORMATION_CLASS enum HOT 1
- SearchApi.IQuerySolution.Resolve() should not require unsafe pointer for parameter "SYSTEMTIME* pstReferenceTime" HOT 7
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 vanara.