Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do Subclasses work?

Status
Not open for further replies.

GearWorker

Programmer
Aug 17, 2000
2
US
When creating an ActiveX control using the MFC ActiveX Control wizard, does making it a subclass of an existing ActiveX control mean that it inherits all the properties and functions of the parent class? I'm trying to make a custom ListView control by making it a subclass of the SysListView32 control thinking that I can just modify it through inheritance, but it doesnt seem to work that way. All I want to do is change one thing about the ListView control, is there anyway I can do this without having to write it from scratch?
 
just to re-iterate this question....:cool:

as i'd like a standard combo box but with two additional design/runtime properties. my problem seems to be similar in that i can't get such as the .List property to function? (i can, for example, use [tt].addItem[/tt] at runtime but cannot add through the [tt]List[/tt] value on the property windows.

i also have other problems which i suspect all derive from an inability to persist the list array?

cheers in anticipation of any help...#-) [sig]<p> Mark Saunders
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top