Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Trapping Delete in ListView

23 views
Skip to first unread message

silve...@my-deja.com

unread,
Dec 3, 2000, 3:00:00 AM12/3/00
to
Hi

Does anyone know a way to trap a key press, especially delete, in a
list view report?
I have a pop up dialog containing a list view report and
am checking for NM_KEYDOWN, via WM_NOTIFY messages but never receive
any. I tried setting the focus with the handle of the list view but
this doesn't help either.
Basically I just want to allow the user to delete the currently
highlighted row with a key press.

Thanks in advance

Oli


Sent via Deja.com http://www.deja.com/
Before you buy.

silve...@my-deja.com

unread,
Dec 3, 2000, 3:00:00 AM12/3/00
to
Please disregard, solved the problem using LVN_KEYDOWN.
Sorry for the wasted bandwidth.

Dale M. Nurden

unread,
Dec 4, 2000, 7:33:19 PM12/4/00
to
On Sun, 03 Dec 2000 17:22:02 GMT, silve...@my-deja.com wrote:

>Please disregard, solved the problem using LVN_KEYDOWN.
>Sorry for the wasted bandwidth.

That's alright, you can work it off on Saturdays and Sunday for the
next four weeks.

-Dale
--
Dale M. Nurden __|__ http://users.iafrica.com/d/da/dalen
dalen-rcis.co.za | Highway Radio, 101.5FM
dalen-iafrica.com | Christian Community Radio
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Author of TClockEx, the FREE taskbar clock enhancer.
Spam proofing in effect: Please use '@' in place of '-'.

Jackson Yee

unread,
Dec 5, 2000, 3:00:00 AM12/5/00
to
Ouch! That's pretty harsh, Dale! Besides, if he's a programmer, he'll be
working Saturdays and Sundays anyway. ;-)

Regards,
Jackson Yee
http://jacksonyee.welcome.to/
E-mails will be ignored unless requested.

"Dale M. Nurden" <da...@not.my.real.email.address> wrote in message
news:3a2bdeae....@dbn-news.iafrica.com...

0 new messages