@thomas
Shouldn't the gi_Gadget be the same gadget? That one doesn't have the correct values in the Left/Top/.. fields.
Anyway, I tried GetAttr(GA_Left,o,&buffer) and it worked so only problem left was that it draws over its border. I just hardcoded 2 pixels border to get around that...
@Chris
If the space gadget is easy, there's no hope what so ever getting the virtual gadget to draw itself properly, is there?
Don't I need to specify an AreaBox to be able to use it? Anyway, the GA_Left etc work fine so I'll just leave it at that.
Next problem is a virtual group that basically works as it should but when checkmarks are redrawn (because of external changes) it defaults to the system background (pen 0), not the ReAction background. Also the area around the virtual is drawn in the pen 0 instead of the RA background.
What's wrong here?