windows-programming

Tag

Cards List
#windows-programming

What’s the opposite of Clip­Cursor that lets me exclude the cursor from a region?

The Old New Thing (Raymond Chen) · 2026-06-10

A Windows developer asks how to exclude the cursor from a region, the opposite of ClipCursor. The article explains a technique to avoid flicker by not moving the cursor but instead snapping the object's position to the nearest legal location.

0 favorites 0 likes
#windows-programming

When you upgrade your resource strings to Unicode, don’t forget to specify the L prefix

The Old New Thing (Raymond Chen) · 2026-05-07 Cached

Explains that when using Unicode escape sequences (like \x2019) in Windows resource strings, you must prefix the string with L to make it a wide-character string; otherwise the escape is misinterpreted as an 8-bit sequence.

0 favorites 0 likes
← Back to home

Submit Feedback