Hi all,

I'm implementing drag/drop to a CComboBox.

Any of the examples I@ve seen have been dragging to a dialog or a listcontrol.

The register call was done in the OnInitDialog function of any examples I've looked at

Does anyone know where it should be in a CComboBOx derived class?
At the moment I've got it in the constructor and it's returning unsuccessfully:

if ( !m_dropTarget.Register(this) )
AfxMessageBox("Error Registering Drop Target");

Any ideas of where I'm going wrong would be greatly appreciated!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!