Skip to content

dtb/MoveCaret

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

MoveCaret

This is a sample project showing how to move the caret/text insertion point in a Win32 edit control. See the accompanying blog post

Note: most of this is boilerplate code generated by Visual Studio 2010's project template. See line 155 of MoveCaret2.cpp for the code that manipulates the cursor.

The text box is created on Line 199 of the same file.

License

The code is in the public domain! The blog post is (C) 2011 David Bernal.

About

Learn how to move a caret inside a text box using the Win32 API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published