Re: Problem creating new class with files in specific locations




"IndyStef" <IndyStef@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:56904E13-87EC-49BB-9D04-E3A231522F3C@xxxxxxxxxxxxxxxx
I'm sure this has come up before in this group, but I could not find a
quick
answer ...

I am having problems when I invoke the Add Class/Add Class ...' wizard in
VS2005. If I just want to add the class the the project's main folder,
everything is fine. However, if I want to have the header and
implemetation
files be created in another folder (for better module separation), I
cannot
do that. Althought the wizard provides a little browser button next to
the
classes file names, and I can browse to any folder, the file dialog is
actually a load file dialog, which requires the files to be existing
already.
I'm sure I am just not getting something right, here, because this is a
pretty essential feature. Could somebody let me know what exactly goes
wrong
here?


not sure if this is exactly what you want, but you could
try adding a ShellNew handler to the registry for the
..cpp file extension, so you can then bring up context menu in the browser
and click New->C++ file, thereby creating an empty C++ /text file, before
selecting it.

This is the best I can do, I've got similar problem since
I use directory structures which are "non-standard",
for the same reasons you probably do.


Mark


.


Loading