Article View: comp.os.ms-windows.programmer.misc
Article #1653Help: How to activate DEL in the Edit Class
From: Stefan Focke
Date: Fri, 16 Oct 1992 12:10
Date: Fri, 16 Oct 1992 12:10
26 lines
1385 bytes
1385 bytes
Hello! The last problem I had, had been solved very fast by some kind netters. So, here's a new one. I use Turbo Pascal for Windows 1.5. If I use a TEditWindows-Object (a child of the Edit-Class) the DEL-Key does not work. The only possiblility to delete a character is to use Backspace. I think, that this is because of the implementation of the Windows Edit- Class. My question is: How can I activate the DEL-key. I see two problems: - How can I capture the Del-Key. Does it come with a wm_char message? I can't find one. - The Edit-class has no message to delete the character right to the cursor. Also it has no message to get the cursor position in the current line. Thanks Stefan ---------------------------------------------------------------------- Stefan Focke Tel. 02241-14-3154 GMD-I8 e-mail: stefan.focke@gmd.de Postfach 1316 D-W 5205 Sankt Augustin 1
Technical Details
Message-ID:
<focke.3.719237443@gmdzi.gmd.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!swrinde!cs.utexas.edu!rutgers!jvnc.net!gmd.de!gmdzi.gmd.de!fockeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!gatech!swrinde!cs.utexas.edu!rutgers!jvnc.net!gmd.de!gmdzi.gmd.de!focke From: focke@gmdzi.gmd.de (Stefan Focke) Newsgroups: comp.os.ms-windows.programmer.misc Subject: Help: How to activate DEL in the Edit Class Message-ID: <focke.3.719237443@gmdzi.gmd.de> Date: 16 Oct 92 12:10:44 GMT Sender: news@gmd.de (USENET News) Organization: gmd Lines: 26 Nntp-Posting-Host: novell2