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