MagicShape Programming

 

Property

ImageSkin

Remark:
ImageSkin property is used to set the skin of the application. You need to prepare two bitmap files: one for the background image the other for the mask. Note, the name of the mask bitmap file is derived from the background image file. Let's say the background image file is called "cool.bmp". The mask image file should be called "cool_mask.bmp". Yes it matters. See Create Skins for detailed information

 

Methods

SetImageSkinID((long hInstance, long imageID, long maskID)

Parameter:

hInstance:            Current application instance
imageID:            Bitmap resource ID to be used as background
maskID:            Bitmap resource ID to be used as mask

Remark:
Used by Visual C++ only. You use this method if you want to put background image and mask image in the application resource file. This is useful if you want to ship a single executable with everything in it.

 

Events