Now that I think of it, could you tell us any more about the Icon object?
They've always been pretty much a mystery without any documentation. In most windows they seem to just be hard-coded.
In the pet window the Icons have:
ActionData="command petAttack" IconID="12"
for example.
In the maintained spells window they have:
ActionData="maintained_spell" DynamicData="/GameData.Maintained.Spell_1.Icon"
for properties.
When I originally made
my examine window mod I added the
Dragable="True"
property to the icon and, magically, you could drag the icon into the macro window to copy it there. That stopped working when the Dressing Room came though.