I don't know if this makes it slow, but it is slower than it used to be: I've tried several thing…
Great article! About error handling, i like the V approach "or {}". Nice to know that you research…
Error: This looks like the beginning of a function declaration but it's missing the initial fn. Di…
Lexing, parsing and analysis is about 1-2% of the entire compile time when compiling C3 code with …
Hi, i realy like the c3 approach of being a better c. But 'fn' in front of function declarations I…
1 The drop shadow doesn't matter at all. Only the resize handles. 2SetWindowPos you need to give i…
I'm just trying to understand why your code worked. Let me list out some of my questions: Does the…
Just in case I still didn't understand what you wanted, did you run my code ? Isn't it doing what …
It's seems similar because I used the client rect of the big window to compute the offsets, but yo…
It's not for window_rect.top as we use 1 instead of top_offset. It's seems similar because I used …
What are resize handles? When you move your mouse near the edge of the window, the cursor change t…
If you don't show the window first, than all the sizes are the same. But this doesn't help. Yeah, …
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…