provided by: 
Originally published at Internet.comOccasionally Santa Claus gets a Christmas wish list that requires a public response. Sometimes writers ask for world peace, sometimes it's "what's the meaning of life?" but this year the question was "what's the big deal about classes and components?"
Rather than provide a stocking stuffer for one little boy or girl, Santa sent the response to me. (We have pretty good distribution at codeguru.com, and the audience is appropriate.)
Many of you may have firmly resolved this issue in your minds one way or the other. To make my case though, I have demonstrated a splitter capability without making the capability into a control. You may find that code useful, and there may be some perspectives relative to components that you haven't thought of yet. You are invited to read on.
When you have finished reading this article - for those of you that need a splitter, you can use the code in the listing - you will know why classes and components are a necessary evolution in programming.
Implementing a Quick Splitter Control in VB6
If you haven't seen one before, a splitter control is usually implemented as a vertical or horizontal bar representing a division in the screen real estate used by forms. By dragging the splitter control users can change the relative amount of form real estate based on the direction the splitter is moved. For example, drag a vertical splitter left and the amount of spaced allocated to the left of the splitter is decreased and the right side is increased. Drag the splitter right and the opposite effect occurs. More space left and less space right. Figure 1 shows the splitter as it appears implemented in this article...
Read article at Internet.com site