Perhaps the problem is in this line:

PANEL* Pointer_ItemInSlot1 = interfacedummy_png;

You are initializing the panel wrong. It should look like this:

PANEL* Pointer_ItemInSlot1 = {bmap=interfacedummy_png;}

And I dont think its possible to read the bmap of button.

muffel