You can always mask off the head so the portion that can be seen won't be anodized. As for the threads, you may want to be carefull with voltages and bath times so you don't fall out of tolerance.
check out this link for an easy setup.
http://www.valhallaarms.com/wyvern/t.../anodizing.htm