The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Jan 16, 2026
Post comments count
1
Post likes count
1
How can I get the tab index number from a dialog box control?
The tab index number is an authoring concept, not a runtime concept.
Jan 15, 2026
Post comments count
14
Post likes count
3
When programs assume that the system will never change, episode 4: Stealing strings
The strings are an implementation detail.
Jan 14, 2026
Post comments count
0
Post likes count
1
Clipping the focus item when looking for its on-screen location, part 3
Finding <I>all</I> the clipping parents.
Jan 13, 2026
Post comments count
1
Post likes count
2
Clipping the focus item when looking for its on-screen location, part 2
Finding the correct clipping parent.
Jan 12, 2026
Post comments count
0
Post likes count
2
Clipping the focus item when looking for its on-screen location
Preventing the cursor from pointing to nothing.
Jan 9, 2026
Post comments count
1
Post likes count
1
Using Active Accessibility to find out where the focus item is
Looking at child objects.
Jan 8, 2026
Post comments count
4
Post likes count
2
Using Active Accessibility to find out where the Windows caret is
It's old and rather simple, but we like simple.
Jan 7, 2026
Post comments count
1
Post likes count
1
How can I find out where the Windows caret is?
You'll have go to a larger scope.
Jan 6, 2026
Post comments count
1
Post likes count
2
Swapping two blocks of memory that reside inside a larger block, in constant memory, refinement
Could do with a little less rotating.