Jimbob #1 Wouldn't you just use 'MaskImage gImages,255,0,255' at the end of the code instead of the 'hbuffer' stuff?