var Bmp : TBitmap; ... WM_CREATE : begin Bmp := TBitmap.Create; Bmp.LoadFromFile('MyImage.bmp'); ... end; ...