I am trying to write a self-contained control. It is simply a class derived from CEdit.

I am able to receive reflected messages fine if the control is in a dialogbox - (created in the resource editor and added with class wizard). If the same control is in a dialogbar (created in the resource editor and added with class wizard) I do not receive the messages.

BUT, if I dynamically create the control in the dialogbar I then receive the messages with no problem.

Why is this? What step am I missing?

Thanks