If you don't show the window first, than all the sizes are the same. But this doesn't help. After …
No, rect and smallRect differ because SetWindowPos includes the drop shadow to the size you pass i…
I'm sorry if I don't understand correctly, but if you have a "desired size" for the window, why do…
Yeah, sorry for being unclear. Let's say I have a desired size (not counting the drop shadow) for …
You want to create a window, with a client area big enough to encapsulate another window (includin…
Can You show any benchmark? any real proof thats LLVM is slow?
So I used the function DwmGetWindowAttribute(wnd, DWMWA_EXTENDED_FRAME_BOUNDS, &rect, sizeof(RECT)…
Wait, so the entire white border represents how big the drop shadow is and the reason I think it's…
If you put your window against a white background, take a screenshot and measure at which distance…
But the size is way too big for the drop shadow, don't you think?
From the GetWindowRect doc In Windows Vista and later, the Window Rect now includes the area occup…
For some reason, the AdjustWindowRect returns a bigger rect than I want. Here's an image of 2 wind…
By "unpredictable check" you mean "unpredictable branch" ? There will be no branch. It will compil…
flags |= (value ? A : 0) is what I ended up doing, but isn't a runtime unpredictable check slower …
Why do you want flag position to be compile time value? Classically you would typically do this: T…
Maybe there is a better way but this seems to work (only if you pass it a enum label or a number l…
In C, it's common to declare an enum as a bunch of flags: Is there any way to get back the flag's …
ssoher —
Oh this is already being tracked on github, nevermind
Updated release of RemedyBG, 0.4.0.2, is now available for download from itch.io. Add Event Filter…
ssoher —
When I hit a breakpoint or break with F12, upon pressing F5 to continue, the process resumes execu…
LAG —
2nd Week update -day 10 to 15 are now available in the repository
Martins, you're the man. Thank you very much for your assistance. It works perfectly now!
Turns out you don't need that RequestAccessAsync. Everything is works without it, you just need co…
I see... So, basically, I need to create something like this: And then call RequestAccessAsync() w…
I'd expect that part of adding thing to manifest file does not matter for desktop application. Tha…
That was quite an oversight on my part, thank you for putting me on the right track. Now, is there…
The Remarks section mentions what you need to do for this to work - you first need to request perm…
Hey Martins! Quick question: How do I remove the yellow border that always appears when the record…
Ah, you're right - even const is not enough for it. It's still not a "constant" initializer from C…