🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #53

Selection in Edit Controls

#53
From: Thanos Karras
Date: Fri, 24 Jul 1992 13:16
29 lines
1262 bytes
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Setting Text Selection OFF in Edit Controls. HOW??
Summary: 
Expires: 
Sender: 
Followup-To: 
Distribution: 
Organization: Univ. of Florida CIS Dept.
Keywords: 

Hello fellow Windowers:

Two questions for you today:

1)
I have a modal dialog box that contains a multiline edit control and 
some buttons.
The problem I am facing is that when I tab to the edit control, the text
is selected. Is there any way to set the selection off in multiline 
edit controls?

2)
I have a modal dialog box that contains a static window and a scroll bar.
I want to scroll my own text. The arrow key messages only come to me when 
the key is released (WM_KEYUP). PAGE-UP and PAGE-DOWN return WM_KEYDOWN!
What is going on here? How can I get WM_KEYDOWN for the arrow keys?

Thanos Karras
thanos@reef.cis.ufl.edu
Technical Details
Message-ID: <36514@uflorida.cis.ufl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!uflorida!reef.cis.ufl.edu!thanos

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!uflorida!reef.cis.ufl.edu!thanos
From: thanos@reef.cis.ufl.edu (Thanos Karras)
Newsgroups: comp.windows.ms.programmer
Subject: Selection in Edit Controls
Message-ID: <36514@uflorida.cis.ufl.edu>
Date: 24 Jul 92 13:16:56 GMT
Sender: news@uflorida.cis.ufl.edu
Organization: Univ. of Florida CIS Dept.
Lines: 29
Nntp-Posting-Host: reef.cis.ufl.edu