Link to home
Start Free TrialLog in
Avatar of FMayis
FMayis

asked on

Customizing the CTreeCtrl drawing...

Hi,

I'd like to create a new CTreeCtrl class, that allows the user to specify for each added item, not the index of the image in the resource but a bitmap path name.

Then, on drawing, i'd like to stretch the bitmap to have it like the normal mage of any item.

The problem is that i don't really know how?

Do i have to overload the paint function?
Do i have to create entirely the control? :(

Can someone give me some help, ideas, and known ips for this kind of job?

thanks a lot!
ASKER CERTIFIED SOLUTION
Avatar of peterchen092700
peterchen092700

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peterchen092700
peterchen092700

Avatar of FMayis

ASKER

Thanks,
i create dynamically the list and it works!