GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 28-Feb-2005, 03:24
Frandy Frandy is offline
New Member
 
Join Date: Sep 2004
Location: Italy
Posts: 19
Frandy is on a distinguished road

How can I change the class of a dialog ?


Hello!

I'm using Visual C++ 6.0. Project named 'Aerialing' (Base Class:CFormView).
In the main dialog, I've dragged a button named 'Table' that opens the modeless dialog 'Field'.
By means of the 'Adding Class' popup, I added a new class for the dialog 'Field' that I named 'CSlice' instead of 'CField' I prefer for different reasons.
So, I tried to eliminate 'CSlice' and replace it with 'CField' dut didn't manage.
Now, each time I try to add a new class for the 'Field' dialog I get the following message :
'Unable to open the files (C:\Programmi\Aerialing\Slice.h and Slice.cpp) for class CSlice'
But each time in File View, are added Slice1.h and Slice1.cpp, Slice2.h and Slice2.cpp etc.

What should I do to solve the problem i.e to get rid of the CSlice class and its .h and .cpp files, and, finally, to be able to add another class for the 'Field' Dialog ?

Any suggestions ?

Thanks a lot

Best regards

Frandy
 
 

Recent GIDBlogStupid Management Policies by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Introduction to .NET LuciWiz .NET Forum 5 09-Aug-2007 05:53
Error C2146: syntax error : missing ',' before identifier 'C4' mattchew008 C++ Forum 2 19-Dec-2004 07:06
Help! Some basal questions about MFC xutingnjupt MS Visual C++ / MFC Forum 1 05-Dec-2004 04:38
hashing help saiz66 C++ Forum 1 06-Jul-2004 07:16

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 03:48.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.