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

  1. Path: sparky!uunet!gossip.pyramid.com!decwrl!sdd.hp.com!usc!news!spock.dis.cccd.edu!donc
  2. From: donc@spock.dis.cccd.edu (Don Cock)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: BC++ OWL: How do you trap the <del> key in a TEdit descendent?
  5. Message-ID: <BsvMsp.Gup@spock.dis.cccd.edu>
  6. Date: 12 Aug 92 15:24:24 GMT
  7. References: <1992Aug12.061454.13780@nuscc.nus.sg> <1992Aug12.061741.14243@nuscc.nus.sg>
  8. Organization: Coast Community College District, Costa Mesa, CA
  9. Lines: 15
  10.  
  11. In article <1992Aug12.061741.14243@nuscc.nus.sg> ipser@solomon.technet.sg (Ed Ipser) writes:
  12. >BC++ OWL: How do you trap the <del> key in a TEdit descendent? I can
  13. >trap other characters with the WM_CHAR message handler but the <del>
  14. >key slips by, mysteriously.
  15. >
  16.  
  17. You have to trap the WM_KEYDOWN or WM_KEYUP to get the "strange" keys.
  18.  
  19. Happy trap'n, 
  20. -- 
  21. Don Cock                           Internet: donc@spock.dis.cccd.edu
  22. Coast Community College District   1370 Adams Avenue
  23. District Information Services      Costa Mesa, CA, USA  92626
  24. Technical Support                  (714) 432-5079
  25. "... you'll be locked into Cyberspace. Remember to do your work!" B.P. Kehoe
  26.