0
votes

I'm maintainig an old MFC application with Visual Studio 2013. Building the application works fine, but I'm unable to use the dialog editor.

When I open a dialog from the resource view, it displays correctly, I can click on the existing items, view their properties, move them etc.

But when I open the toolbox via the View-Toolbox command (Ctrl+Alt+X), all I get is an empty toolbox as displayed below:

empty toolbox

  • Right click on the toolbar and "Reset Toolbox" doesn't change anything
  • Right click and then "Show all" shows an impressive list of tools, among those there is the Dialog Editor, but all items are inactive as shown in the picture below:

toolbox with inactive items

On the other hand when I create a new MFC project from scratch, the toolbox containing the dialog items works fine.

Does anybody have an idea what could be wrong? FYI: in the meantime I use Visual Studio 6 (yes) for editing the resources.

1
Have you tried deleting the ".tbd" files at C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\12.0 ? You'll need to close Visual Studio first. - rrirower
@rrirower that helped, thanks. If you write this as an answer, I'll upvote it and accept it as answer. - Jabberwocky
Per your request, posted as an answer. - rrirower

1 Answers

1
votes

There are two typical work arounds to get the toolbox back in Visual Studio. One is to reset the toolbox as you've tried. The other is to delete the “.tbd” files in your corresponding C:\Users\xxx\AppData\Local\Microsoft\VisualStudio\12.0 folder.