Text selection in CScrollView
Willie Lyons -- willie@ccohs.ca Friday, May 10, 1996 Windows 95 / Visual C++ 1.52c: Is there any sample source code available for implimenting text selection in a CScrollView class. For example, the VC++ editor can select text for cutting to the clipboard. My attempt works but does not look as good as other applications. The screen flashes a lot because I am calling Invalidate in OnMouseMove().
Jeff Pek -- jpek@emeraldi.com Monday, May 13, 1996 [Mini-digest: 2 responses] This may seem like a stupid question, but why don't you use an edit control? -----From: Deepak SaxenaWhy not use a CEditView or a CRichEditView? Deepak
Willie Lyons -- willie@ccohs.ca Wednesday, May 15, 1996 Jeff Pek wrote: > > [Mini-digest: 2 responses] > > This may seem like a stupid question, but why don't you use an edit control? > We have text which is coloured diferent colours within a line. Also diferent fonts are used.
Mike Blaszczak -- mikeblas@msn.com Friday, May 17, 1996 Are you using a Win32 platform? You can use a rich edit control. [Moderator's note: The original note said Win95 and VC++ 1.52c.] Text selection code isn't fun to write. [Moderator's wise-ass comment: That depends on your idea of fun! ;-] .B ekiM TCHAR sz[] = _T("These words are my own: I don't speak for Microsoft."); ---------- From: owner-mfc-l@netcom.com on behalf of Willie Lyons Sent: Wednesday, May 15, 1996 09:49 To: mfc-l@netcom.com Subject: Re: Text selection in CScrollView Jeff Pek wrote: > > [Mini-digest: 2 responses] > > This may seem like a stupid question, but why don't you use an edit control? > We have text which is coloured diferent colours within a line. Also diferent fonts are used.
| Вернуться в корень Архива |