How to mark a file icon as special in appearance?

I add a menu item command to my file, I want to make the file look special when I click the SetAsActive menu, for example, change the file name background color or add an icon before the file name
I do know how to implement the idea, Could anyone give me some clues?