How to add floating cell capability to other cell types than edit cell (e.g. combobox, listbox)?

You can add floating capabilities by overriding CanFloatCell as follows for each of these cell types:

BOOL CMyListBox::CanFloatCell(ROWCOL nRow, ROWCOL nCol, const CGXStyle&
style, BOOL bFloatOrFlood)
{
   return TRUE;
}