Re:Show HN: A Native Tiling Window Manager for Windows 10, I...
by ianhanschen on Sunday February 28, 2021 @04:41PM
(#26297351)
Looks cool. If you want to get rid of your hook DLLs and the need for the x86ipc child process, you can use SetWinEventHook() with EVENT_OBJECT_CREATE / EVENT_OBJECT_DESTROY as min/max event values and WINEVENT_OUTOFCONTEXT to get notification on newly created/destroyed windows, all within the context of your process. No hook DLLs required.
[ Parent
| on HN ]
Re:Show HN: A Native Tiling Window Manager for Windows 10, I...
by mcyoloswagham on Sunday February 28, 2021 @05:16PM
(#26297621)
Oh wow, that's huge I'll definitely add that, that'll help a lot with dealing with processes that don't need injection, and protected processes (anticheats/drm etc...).
edit: though regardless, I need to inject ForceResize into them, but still maybe I can come up with some way to subclass windows without subclassing windows lmao, need some gui thread message hijacking