Groups | Blog | Home
all groups > visual studio .net ide > december 2004 >

visual studio .net ide : Everything disabled in Toolbox


OrbitalTug
12/21/2004 11:29:25 PM
Hi

I am programming on an unmanaged C++ application developed using MFC.
Previously we worked in VC6.0, but now for a while we have been using VS7.1
for coding.

For the first time in quite a while I was going to add a new MFC dialog
using the resource editor. I added the dialog by right clicking Dialogs in
the resource tree, and selecting Insert Dialog. This gave me a default
dialog OK. Now I wanted to add controls by clicking and dragging from the
Toolbox. But: All the controls in the list were disabled, and thus I was
unable to add controls in any other way than just copying and pasting from
old dialogs. )-:

I asked one of my colleagues to try the same thing, and on his system it
worked just fine when doing the same thing. He was able to add edit
controls, static controls etc. by just dragging from the Toolbox.

Any ideas on what can be the problem causing all controls to be disabled on
my system?

Tug.

v-garych NO[at]SPAM online.microsoft.com
12/22/2004 7:06:00 AM
Hi Tug,

Just as you know, the VC7.1's IDE isn't like the VC6's, it is VS.NET IDE
for all the .NET language(include the unmanaged C++), so there may be many
tabs in the toolbox, and most of them are not provided for the MFC projects.

So I want to know which tab of the ToolBox you mentioned, are all the items
in the "Dialog Editor" tab disabled in this issue?

If so, is this happened when you create a new MFC application project in
VS.NET 2003 IDE?


Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
upe
12/23/2004 7:31:04 AM

Hi!

This has happened to me many times. You can't cut,copy,paste... they are
disabled on some forms and on others they work. I solve this by draging with
CTRL from other forms, but I hate it when it happens.

There is one more problem that I hate the most. If you use TabControl after
opening the form the mouse stucks in the tab area until you click on the
header of the control. So if you switch to code the mouse is still stucked in
the same area until you switch to design and do the click. :(
Sometimes doing this kinds of solutions takes much of the time.

Regards
upe
OrbitalTug
1/3/2005 1:17:03 AM
Hi Gary

The project I am working on was originally created as a VC6 MFC project. Now
it has been updated to a VC7.1 project. In the Toolbox I open the Dialog
Editor tab. This shows the following:
Pointer (enabled)
Button (disabled)
Check Box (disabled)
Edit Control (disabled)
etc... All the rest are disabled.

I also tried to create a new MFC project with VC7.1. Added a dialog by
selecting Insert Dialog after right clicking Dialog in the resource tab. Then
all the selections are enabled in the Toolbox - Dialog Editor.

So it seems that the problem is some setting in my old project file which
causes this to fail?

Tug
v-garych NO[at]SPAM online.microsoft.com
1/4/2005 9:41:08 AM
[quoted text, click to view]

yes, I think it would be the problem, and is there anything special of your
VC6 MFC program?

Does your VS.NET 2003 has this problem with any other VC6 MFC programs?


Thanks!

Best regards,

Gary Chang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Guy Rish
1/5/2005 9:03:29 PM

I noticed a similar problem when I installed the VS 2005 CTP, but only for
mobile forms. I haven't been able to solve it but I wonder if they are
related problems.

rish

[quoted text, click to view]

AddThis Social Bookmark Button