Re: vbCFBitmap vs vbCFDIB
vbCFDIB stores both the bitmap and the palette while vbCFBitmap is only the bitmap.
vbCFBitmap + vbCFPalette = vbCFDIB
Re: vbCFBitmap vs vbCFDIB
Okay, so the difference is not relevant nowadays, since palettes are not used anymore with modern displays, right?
Re: vbCFBitmap vs vbCFDIB
A DIB is always a device independent bitmap and for such a bitmap you need a palette.
Re: vbCFBitmap vs vbCFDIB
What I mean is that, as far as I know, nobody fusses about setting palettes anymore, koz the video driver takes care of everything. As a matter of fact, the form's Palette and PaletteMode are completely ignored, and hPal returns 0, unless you run VB under 256-color emulation. This doesn't mean that palettes are useless: as you pointed out, they're necessary for DIBs.