How to make the RTB caret follow the cursor
Shows the current row and column below the cursor.
Uses the following API functions and messages:
- ReleaseCapture
- SendMessage
- SetCapture
- EM_CHARFROMPOS
- EM_LINEFROMCHAR
- EM_LINEINDEX
- WM_VSCROLL
Back to Code Samples
Copyright © 2000 by Matt E. Hart, All Rights Reserved Worldwide.
Nothing on this web site may be reproduced, in any form, without express written consent.