Private Sub Command1_Click() '青を透過させて描画 ImageList1.ListImages.Clear ImageList1.MaskColor = vbBlue ImageList1.ListImages.Add , "PIC", picFront.Picture ImageList1.ListImages("PIC").Draw picBack.hDC, , , imlTransparent picBack.Refresh End Sub Private Sub Command2_Click() '青を透過させて、(0,0)-(50,100) を (100,80) に描画 Set PictureClip1.Picture = picFront.Picture PictureClip1.ClipX = 0 PictureClip1.ClipY = 0 PictureClip1.ClipWidth = 50 PictureClip1.ClipHeight = 100 ImageList1.ListImages.Clear ImageList1.MaskColor = vbBlue ImageList1.ListImages.Add , "PIC", PictureClip1.Clip ImageList1.ListImages("PIC").Draw picBack.hDC, 100, 80, imlTransparent picBack.Refresh End Sub