I want to make a Chat interface and I want to insert some "faces" into a Richedit control.
I found some code that loads the bitmap from a file something like smiley.bmp.
I also know how to save a resource bitmap to a file.
BUT, I want an easier way to load a bitmap into a richedit control from a resource, something like IDB_MYBITMAP.
Another problem: it takes a lot of time to create my bitmap handlers for the pictures that I want to insert.
The code uses interfaces from COM which I'm not familiar.
It loads the bitmap with CreateOleFromFile and a lot of parameters , many of them are created using other methods as strange as that is.
help me please ...
I found some code that loads the bitmap from a file something like smiley.bmp.
I also know how to save a resource bitmap to a file.
BUT, I want an easier way to load a bitmap into a richedit control from a resource, something like IDB_MYBITMAP.
Another problem: it takes a lot of time to create my bitmap handlers for the pictures that I want to insert.
The code uses interfaces from COM which I'm not familiar.
It loads the bitmap with CreateOleFromFile and a lot of parameters , many of them are created using other methods as strange as that is.
help me please ...