home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / mswindo / programm / misc / 1615 < prev    next >
Encoding:
Text File  |  1992-09-01  |  981 b   |  27 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cortex.prospect.com!mboucher
  3. From: mboucher@cortex.prospect.com (Mike Boucher)
  4. Subject: Cursor location in edit control?
  5. Organization: Cortex Corporation, Waltham, MA, USA
  6. Message-ID: <1992Sep1.104811.1@cortex>
  7. Lines: 14
  8. Sender: news@ctr.columbia.edu (The Daily Lose)
  9. Date: Tue, 1 Sep 1992 15:48:11 GMT
  10. X-Posted-From: cortex.prospect.com
  11. X-Posted-Through: sol.ctr.columbia.edu
  12.  
  13. Hey there,
  14.  
  15. Is there a way, when you get a WM_CHAR message in an edit control, to determine
  16. where the cursor is?  I mean the location in the string, not the screen coords.
  17. I need to know if the character is being appended to the end of the string,
  18. tacked onto the front, or in the middle for validation purposes.
  19.  
  20. Thanx.
  21.  
  22. Mike
  23. ----
  24. Mike Boucher            mboucher@cortex.prospect.com
  25. Cortex Corp            "Don't take life too seriously, you'll never
  26. Waltham, MA, USA         get out of it alive!"
  27.