In the GridApp sample, file gridsvw5.cpp (CGridSample5View) provides a sample for an owner-drawn combobox and shows how to process notifications.