12-12-2022, 01:17 PM
(12-12-2022, 01:06 PM)Dav Wrote: Nice. It's bigger than mine was that's for sure. And your sales pitch is way better. I'm getting the square too, using Windows 7 32-bit.
Petr made a version here that uses no API's but _MAPTRIANGLE, however I don't think it's Linux friendly because of _SCREENIMAGE. Still cool though.
- Dav
That's it then. I went and looked up the requirements. At the bottom of the list is:
[quote]
ext-ms-win-ntuser-draw-l1-1-0 (introduced in Windows 8)[\quote]
So it's Windows 8 and above, for the SetWindowRgn function -- and it's the one making our circle.
Kind of odd how it still compiles and doesn't error out with a "Function not found" type statement, though.