I was wondering how you get a bitmaps into a richedit. Ive seen a few example in code guru. but they were all MFC and reverse engineering that is a NIGHTMARE. ive tried using SendMessage(hwnd, BM_BITMAP, (WPARAM)IMAGE_BITMAP, (LPARAM)LoadBitmap(hInst,MAKEINTRESOURCE(bitmap) ) API function to do it but all i end up with is a selected area where the bitmap should be.   

Do you have to do this though DIbBitmaps or create them using metafile, or can you just load a bitmap striaght into a richedit. IF you can can you plz tell me how