Here is CSkinWindow Class.
This Class have 1 function for the moment, to skin a Captionless Window and Create irregular windows shape.
To Use it, You need a picture (bmp,jpg,gif) and a region file (rgn) created by a RGN Generator:
http://www.codeguru.com/tools/standalonetools/article.php/c1389/
then use the function in your program
SetSkin(CWindow *Handle, STRING RgnPath, STRING PicturePath, INT ImgWidth, INT ImgHeight, INT CloseOnError),INT
Handle : Pointer to a CWindow Class Handle.
RgnPath : The Path to the Externally generated .rgn file.
PicturePath : The Path to an Image file (bmp,jpg,gif).
ImgWidth : The Width of the Image file.
ImgHeight : The Height of the Image file.
CloseOnError : True to close the window to skin if an error occur, False to continue.
Return : True if the Skin is Set, False on Error.
example :
#include "CSkinWindow.inc"
CSkinWindow skn;
skn.SetSkin(this, getstartpath()+"Skin.rgn", getstartpath()+"Skin.bmp", 640, 480, true);
Thank you for this.
Hmmmm. CCL has a class called CSkinWindow :P But not to wory as I have decided to do away with the original design of the skinning for CCL. Rather than having to do it all yourself, the new skin engine uses hooks to modify the messages sent by windows and re-draws your application and controls. Anyone who has the ATI catalyst software installed, that is how it will work :D
Lewis