I've figured out how to extract both the PICTURE and MASK properties of the FaceId of any of the Office commandbar controls, and save those two properties as images on my computer.
Set ctrl = CommandBars.FindControl(Id
stdole.SavePicture ctrl.Picture, "E:\TempPic.bmp"
stdole.SavePicture ctrl.Mask, "E:\TempMask.bmp"
But what I want to do is create an image picker that displays a set of these images in a form, either in an image control or as the picture property of a command button. Unfortunately, neither the image control or the command button has a Mask property, so the background of all of the picture images are black, rather than what they are supposed to be.
The image (above) shows the first 15 faceIDs, with the top row displaying the image saved with the PICTURE property and the bottom row showing the image created with the MASK property.
Is there a way to combine these images or to save the image as a gif or other image type, which can then be assigned to the PICTURE property of an image control or a command button?