Click here to Skip to main content
16,008,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading raw data Pin
RobJones25-Nov-01 18:29
RobJones25-Nov-01 18:29 
GeneralUnicode version of strlen Pin
Matt Newman25-Nov-01 15:34
Matt Newman25-Nov-01 15:34 
GeneralRe: Unicode version of strlen Pin
Nish Nishant25-Nov-01 16:23
sitebuilderNish Nishant25-Nov-01 16:23 
GeneralRe: Unicode version of strlen Pin
Matt Newman25-Nov-01 16:34
Matt Newman25-Nov-01 16:34 
GeneralRe: Unicode version of strlen Pin
PJ Arends25-Nov-01 19:04
professionalPJ Arends25-Nov-01 19:04 
QuestionHow to delete a Class Pin
Steve L.25-Nov-01 11:57
Steve L.25-Nov-01 11:57 
AnswerRe: How to delete a Class Pin
Christian Graus25-Nov-01 12:43
protectorChristian Graus25-Nov-01 12:43 
AnswerRe: How to delete a Class Pin
25-Nov-01 13:41
suss25-Nov-01 13:41 
One way to delete a class created by classwizard in V6.0:

Say, your class is Cabc.

Delete the abc.h and abc.cpp file in the FileView .
Delete the abc.h and abc.cpp file using the windows explorer.
Do a string search on 'abc' using 'Find in files' and click on the line containing 'abc' and '.clw' in the output window to open class wizard in the editor.

Double click on the line containing the string '.clw' in the output window.

Find the references like the following for 'abc' and delete those lines.
[CLS:Cabc]
Type=0
HeaderFile=abc.h
ImplementationFile=abcr.cpp
BaseClass=CWinThread
Filter=N
LastObject=Cabc

Also, find out the part of the .clw file as below and change the class
count number to 1 less. Delete the line containing 'Class3=Cabc'.

ClassCount=3
Class1=CMyAppApp
Class2=CMyAppDlg
Class3=Cabc


At times 'Class3=Cab' may not be with the other classes as below:
(It is a good idea to have them together.)

ClassCount=3
Class1=CMyAppApp
Class2=CMyappDlg

ResourceCount=2
Resource1=IDR_MAINFRAME
Class3=Cabc
Resource2=IDD_MYAPP_DIALOG

Finally it will be something as below:

ClassCount=2
Class1=CMyAppApp
Class2=CMyAppDlg

ResourceCount=2
Resource1=IDR_MAINFRAME
Resource2=IDD_MYAPP_DIALOG

Click on the file menu and click on save.

close the .clw window (do not forget to do this).

It is a good idea to close the workspace and start again.

GeneralRe: How to delete a Class Pin
Christian Graus25-Nov-01 15:35
protectorChristian Graus25-Nov-01 15:35 
GeneralRe: How to delete a Class Pin
25-Nov-01 16:31
suss25-Nov-01 16:31 
GeneralDatabase woes Pin
Curufinwe25-Nov-01 11:30
Curufinwe25-Nov-01 11:30 
GeneralRe: Database woes Pin
David Salter26-Nov-01 11:45
David Salter26-Nov-01 11:45 
GeneralDocking Windows Pin
25-Nov-01 11:14
suss25-Nov-01 11:14 
GeneralRe: Docking Windows Pin
Masaaki Onishi25-Nov-01 18:14
Masaaki Onishi25-Nov-01 18:14 
Generalradiobutton/checkbutton query Pin
Bill Gates Antimatter Particle25-Nov-01 11:13
Bill Gates Antimatter Particle25-Nov-01 11:13 
GeneralRe: radiobutton/checkbutton query Pin
Michael Dunn25-Nov-01 17:33
sitebuilderMichael Dunn25-Nov-01 17:33 
GeneralRe: radiobutton/checkbutton query Pin
Nish Nishant25-Nov-01 17:51
sitebuilderNish Nishant25-Nov-01 17:51 
QuestionCan we pass reference to a vector as an argument to a function? Pin
25-Nov-01 10:06
suss25-Nov-01 10:06 
AnswerRe: Can we pass reference to a vector as an argument to a function? Pin
Christian Graus25-Nov-01 10:11
protectorChristian Graus25-Nov-01 10:11 
QuestionDo you know the GradientFill function? Pin
jin sok cho25-Nov-01 6:02
jin sok cho25-Nov-01 6:02 
AnswerRe: Do you know the GradientFill function? Pin
Christian Graus25-Nov-01 10:16
protectorChristian Graus25-Nov-01 10:16 
GeneralRe: Do you know the GradientFill function? Pin
jin sok cho25-Nov-01 21:03
jin sok cho25-Nov-01 21:03 
GeneralRe: Do you know the GradientFill function? Pin
Christian Graus26-Nov-01 1:06
protectorChristian Graus26-Nov-01 1:06 
GeneralRe: Do you know the GradientFill function? Pin
jin sok cho26-Nov-01 2:16
jin sok cho26-Nov-01 2:16 
GeneralRe: Do you know the GradientFill function? Pin
Christian Graus26-Nov-01 10:25
protectorChristian Graus26-Nov-01 10:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.