Yes… how to call SetWindowBand?
This article will be subdivided into 2 parts.
InteropCompositor (and CoreDispatcher)
InteropCompositor? What is this?
Remember Windows.UI.Composition.Compositor in UWP apps? That’s InteropCompositor.
Ok enough, so what is different from a normal “Compositor”? You can cast that into IDCompositionDesktopDevice. And create InteropVisuals (IDCompositionVisual that can be castable into Windows.UI.Composition.Visual).
DWM Thumbnails. But with IDCompositionVisual.
Have you ever wondered how DWM Thumbnails were so buttery smooth on Windows 8 and newer when making animations/transitions (in the shell)?
Restart explorer.exe shell in C/C++
The easiest way to restart Windows Explorer shell is… sending a TerminateProcess with “2” as exit code.
1 2 3 4 |
HANDLE h_explorer; h_explorer = OpenProcess(PROCESS_TERMINATE, false, pid); TerminateProcess(h_explorer, 2); CloseHandle(h_explorer); |
Window z-order in Windows 10
Defining Window z-order “band”
For clarity, in this context the word “band” means group of z-orders
My first blog post!
Really, it’s not that interesting, it is just to have a first blog post. 😛