|
-
August 10th, 2004, 05:24 PM
#1
Multiple inheritance for a CListCtrl
I have an application that uses CListCtrls.
Requirement 1 is to have a list control that uses alternating colors for different rows
Requirement 2 is to be able to print the list control.
I've found classes on codeguru that fulfill the 2 requirements independently....but not a class that does both.
Say I have CColorListCtrl and CPrintListCtrl that provides the different functions.
Can I create a class CColorPrintListCtrl that inherits from both CColorListCtrl and CPrintListCtrl ? Will multiple inheritance work here?
Thanks,
Mdd
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|