Are you looking to to a new program, or are you starting a fresh project from scratch?

Often cited as the best free, open-source alternative. It handles rich text, code highlighting, and hierarchical nodes just like TreePad.

If you are looking for something "better" than a cracked version of TreePad, several modern tools offer similar hierarchical note-taking with significantly better features: