CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: SubClassing

  1. #1
    Guest

    SubClassing

    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


  2. #2
    Join Date
    May 1999
    Location
    Antwerp, Belgium
    Posts
    136

    Re: SubClassing

    Put your code for delete in a memberfunction of your CListBox.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured