Archive: Component page - color question


Component page - color question
Hello,

I have not seen this discussed anyhwere so i thought id post in the forums.

I am trying to make one component on my components page change color to red if a requirement that i have is not met. I have seen ways to make the whole component page change color / font but nothing for a single one.

I was planning on using a MUI_PAGE_CUSTOMFUNCTION_PRE function where i would check for this before the component page shows.

Right now all i am doing is greying out the component in the .onInit function.

Let me know if this is possible.

Thank yoU! :D


You'd need a custom drawn TreeView control for that. It can be done with a plug-in. An example is available on CodeGuru.

http://www.codeguru.com/cpp/controls...icle.php/c633/