This is not a question about the difference between DDBs and DIBs. So don't explan that.
What I am asking about is there use. I was under the impression that DIBs were used for permanent storage and that a program must load them and convert them to DDBs for use with a particular DC.
However I read some microsoft documentation that said that DDBs are just for compatibility with old applications and the newer applications should only use DIBs.
Is that true?
If so, can a DIB be selected into a DC just like a DDB?
Given arrays of color and pixel information how do I create a DIB and get a handle to it? The functions I've found seem to create DDBs.
If I need to repeatidly display a DIB image, it is best to convert it to a DDB and display that repeatidly?