home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / mswindo / programm / misc / 4455 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.1 KB

  1. Path: sparky!uunet!think.com!ames!agate!agate!muffy
  2. From: muffy@remarque.berkeley.edu (Muffy Barkocy)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: Highlight text/graphic
  5. Date: 23 Dec 92 10:38:45
  6. Organization: Natural Language Incorporated
  7. Lines: 15
  8. Message-ID: <MUFFY.92Dec23103845@remarque.berkeley.edu>
  9. References: <1992Dec21.095714.1@wombat.newcastle.edu.au>
  10. NNTP-Posting-Host: remarque.berkeley.edu
  11. In-reply-to: phshl@wombat.newcastle.edu.au's message of Sun, 20 Dec 1992 22:57:14 GMT
  12.  
  13. In article <1992Dec21.095714.1@wombat.newcastle.edu.au> phshl@wombat.newcastle.edu.au (S.H. LEE (61) 49 21 5566) writes:
  14. > would someone please outline the way to implement "highlighting"
  15. > (I am trying to implement cut/paste function)
  16.  
  17. SendMessage(hwnd, EM_SETSEL, NULL, MAKELONG(start, end)):
  18.  
  19. hwnd should be an edit control.
  20.  
  21. Muffy
  22. --
  23.  
  24. Muffy Barkocy                      | ~Can you tell me how much bleeding/it
  25. muffy@mica.berkeley.edu            |  takes to fill a word with meaning and/
  26. "amorous inclinations"? Aha! I'm   |  how much how much death it takes/to give
  27. not "not straight," I'm *inclined*.|  a slogan breath?~ - Bruce Cockburn
  28.