Re: Preprocessor defines in VC71
From: Murrgon (murrgon_at_hotmail.com)
Date: Thu, 23 Dec 2004 15:05:39 -0500
Carl Daniel [VC++ MVP] wrote:
> Murrgon wrote:
>>This would be made simpler if the solution explorer didn't always change
>>the selected item on me
>>every time I tried to edit the properties. I am getting pretty tired
>>of it telling me when I right click on a file in the solution editor,
>>select properties and then it tell me there are no properties for the
>>selected item because it decided to select something else.
> With the project properties dialog open, you can just click on items in the
> solution explorer to display/edit properties for that item - there's no need
> to dismiss the properties dialog for each file that you change.
Funny, it doesn't give you much choice when it brings up the "There
are no property pages for the selection" message. Your choices are
OK and Cancel and both of those close the window.
I understand that you can click on different items with in the
solution explorer with the properties dialog opened. My problem is
that when I do this, the IDE decides it doesn't want to select the
item I clicked on, chooses something else, and then spits out the
message I mentioned above.
Now imagine this situation: you right click on the first .cpp file
in your project (from the solution explorer) and select properties.
It brings up the properties for that module. You make a change
to the preprocessor defines and as soon as you are done editing it
asks you if you want to save your changes. You pick yes. When you
this the IDE selects a new file in the solution explorer and pops
up the "there are no properpty pages" messsage, forcing you to close
the properties dialog.
That is really annoying.