Results 1 to 4 of 4

Thread: What is Subclassing?

  1. #1

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444

    Post

    uh what is subclassing?

    ------------------
    I am so skeptacle, I can hardly believe it!

  2. #2
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    Subclassing is when you create/modify something based on Something else, ie.

    Taking a Base Class and Creating a Class that has everything the Base Class does plus some extra stuff, this is called a Sub-Class.


    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]


  3. #3

    Thread Starter
    Hyperactive Member badgers's Avatar
    Join Date
    Sep 1999
    Location
    Madison, WI USA
    Posts
    444

    Post

    if the new class has everything the base does and more wouldn't that be a super class?

    And have a sub class be a small section from a base class?

    I am not trying to be sarcastic, it is just very new to me and I am trying to understand
    thank you for your time and have a good day

    ------------------
    I am so skeptacle, I can hardly believe it!

  4. #4
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    Subclassing is a technique that enables you to intercept Windows messages being sent to a form or control. By intercepting these messages, you can then write your own code to change or extend the behavior of the object.

    ------------------

    Serge

    Software Developer
    [email protected]
    ICQ#: 51055819


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