Try studying TBitmap and TIcon for 'simple' examples. The overrided stuff is prolly everything needed, and there is also a line with Register-something in the initialization section of Graphics unit.