Jan 16, 2026 Post comments count1 Post likes count1 How can I get the tab index number from a dialog box control? Raymond Chen The tab index number is an authoring concept, not a runtime concept.
Jan 15, 2026 Post comments count14 Post likes count2 When programs assume that the system will never change, episode 4: Stealing strings Raymond Chen The strings are an implementation detail.
Jan 14, 2026 Post comments count0 Post likes count1 Clipping the focus item when looking for its on-screen location, part 3 Raymond Chen Finding all the clipping parents.
Jan 13, 2026 Post comments count1 Post likes count2 Clipping the focus item when looking for its on-screen location, part 2 Raymond Chen Finding the correct clipping parent.
Jan 12, 2026 Post comments count0 Post likes count2 Clipping the focus item when looking for its on-screen location Raymond Chen Preventing the cursor from pointing to nothing.
Jan 9, 2026 Post comments count1 Post likes count1 Using Active Accessibility to find out where the focus item is Raymond Chen Looking at child objects.
Jan 8, 2026 Post comments count4 Post likes count2 Using Active Accessibility to find out where the Windows caret is Raymond Chen It's old and rather simple, but we like simple.
Jan 7, 2026 Post comments count1 Post likes count1 How can I find out where the Windows caret is? Raymond Chen You'll have go to a larger scope.
Jan 6, 2026 Post comments count1 Post likes count2 Swapping two blocks of memory that reside inside a larger block, in constant memory, refinement Raymond Chen Could do with a little less rotating.
Jan 5, 2026 Post comments count1 Post likes count3 How can you swap two non-adjacent blocks of memory using only forward iterators? Raymond Chen Applying the rotation trick to our new problem.