This is what the help of VC++ about CreateIcon
HINSTANCE hInstance, // handle to application instance
int nWidth, // icon width
int nHeight, // icon height
BYTE cPlanes, // number of planes in XOR bitmask
BYTE cBitsPixel, // number of bits per pixel in XOR bitmask
CONST BYTE *lpbANDbits, // pointer to AND bitmask array
CONST BYTE *lpbXORbits // pointer to XOR bitmask array
I am fine with the first 3 parameter but what is BYTE and CONST BYTE * .... ???
If anyone know how to do it please send sample code for those parameters, dont write me advise because I have spend 1 hour on this problem already. and please dont answer if u not sure about the problem because I run out of points already.