TMSTreeview variable height and scaled icons

Can you point me in the right direction for the following two problems?

-OnNodeGetHeight : How do I know if the height is changed because of long text value or a big icon?

- How do I draw a smaller version of a treeviewnodeIcon when the icon is loaded from a bitmapcontainer with the Nodevalue.bitmapname

thanks for the help