Win32 API: CreateIcon()
Posted on 1998-09-21
This function has two parameters, that I can't understand - number of planes and number of bits per pixel. I managed to create b/w icon setting that parameters to 1. But if I want to create 16-color icon, should I set number of planes to 4 and bits per pixel to 1 ? And how should I fill XOR buffer in that case ? I tried to duplicate 4 times b/w buffer, but failed - the resulting icon didn't look good.