How can I draw a bitmap and text into a grid cell with an edit control?
Take a look at the Controls-worksheet in gridapp. Source code is in gridapp\gridsvw5.cpp/.h. There is a sample control called CBitmapButtonEdit. You should copy the code to your application and modify it so that it suits your needs.
CBitmapButtonEdit is derived from CGXEditControl and has a CGXChild added. Specify the rectangle for the CEdit window that is displayed in the cell by overriding GetCellRect. The rectangle for the CGXChild (the bitmap) can be changed in OnInitChildren.