Click to See Complete Forum and Search --> : SubClassing


May 28th, 1999, 06:44 AM
Hello,

I have a Listbox, up until now users have deleted items by pressing a delete button, ie the delete code resides within the dialog. I also want the delete key to perform the same task, I have therefore derived my own CListbox class, which gets catches the delete key press, from within the subclass of CListBox, how do I call the delete code in my CDialog class.

Thank you very much.

Stewart

Franky Braem
May 28th, 1999, 06:48 AM
Put your code for delete in a memberfunction of your CListBox.