user1454345
user1454345

Reputation: 77

Getting the VC dialog editor to recognise a dialog class in a namespace

I'm trying to hook up a dialog class in a namespace to a template in a way that will allow me to use the editors class/method wizard features to add message handlers to the dialog and its controls.

As soon as I add the namespace and save/reload trying to use Class wizard in the dialog editor prompts me to create a new dialog class. Has anyone had experience of this? I'm using 2010. Thanks.

Upvotes: 1

Views: 129

Answers (1)

JohnCz
JohnCz

Reputation: 1609

Unfortunately this is not possible. It was reported as a bug.

One of the cheesy solutions:

https://connect.microsoft.com/VisualStudio/feedback/details/543019/class-wizard-and-class-view-does-not-detect-namespaces-changes-in-configurations

Upvotes: 1

Related Questions