Hi
If I know bitmap pixels' value e.g(RGB), how can I attach them with the function CreateBitmap()
I don't know how can I build such relationship between lpvBits and my pixels' value or is there any other way out? Thanks for the help.Code:HBITMAP CreateBitmap( int nWidth, // bitmap width, in pixels int nHeight, // bitmap height, in pixels UINT cPlanes, // number of color planes UINT cBitsPerPel, // number of bits to identify color CONST VOID *lpvBits // color data array );