Here's the code to do it using 2 Main OCX controls
in Visual Basic:
Dim w1, h1, w2, h3
LEAD1.GetFileInfo "image1.bmp", 1, 0
w1 = LEAD1.InfoWidth
h1 = LEAD1.InfoHeight
LEAD1.GetFileInfo "image2.bmp", 1, 0
w2 = LEAD1.InfoWidth
LEAD1.GetFileInfo "image3.bmp", 1, 0
h3 = LEAD1.InfoHeight
LEAD2.CreateBitmap w1 + w2, h1 + h3, 24
LEAD1.Load "image1.bmp", 24, 1, 1
LEAD2.Combine 0, 0, LEAD1.BitmapWidth,
LEAD1.BitmapHeight, LEAD1.Bitmap, 0, 0, CB_OP_ADD + CB_DST_0
LEAD1.Load "image2.bmp", 24, 1, 1
LEAD2.Combine w1, 0, LEAD1.BitmapWidth,
LEAD1.BitmapHeight, LEAD1.Bitmap, 0, 0, CB_OP_ADD + CB_DST_0
LEAD1.Load "image3.bmp", 24, 1, 1
LEAD2.Combine 0, h1, LEAD1.BitmapWidth,
LEAD1.BitmapHeight, LEAD1.Bitmap, 0, 0, CB_OP_ADD + CB_DST_0
LEAD1.Load "image4.bmp", 24, 1, 1LEAD2.Combine w1, h1, LEAD1.BitmapWidth,
LEAD1.BitmapHeight, LEAD1.Bitmap, 0, 0, CB_OP_ADD + CB_DST_0