Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRestrict Multiple Instance of an Exe? Pin
17-Mar-02 5:04
suss17-Mar-02 5:04 
AnswerRe: Restrict Multiple Instance of an Exe? Pin
Tim Smith17-Mar-02 6:01
Tim Smith17-Mar-02 6:01 
GeneralMy Copy Constructor bug problem Pin
John Cruz17-Mar-02 3:37
John Cruz17-Mar-02 3:37 
GeneralRe: My Copy Constructor bug problem Pin
Paul M Watt17-Mar-02 7:39
mentorPaul M Watt17-Mar-02 7:39 
GeneralRe: My Copy Constructor bug problem Pin
John Cruz17-Mar-02 10:56
John Cruz17-Mar-02 10:56 
GeneralRe: My Copy Constructor bug problem Pin
Alexandru Savescu17-Mar-02 11:51
Alexandru Savescu17-Mar-02 11:51 
GeneralRe: My Copy Constructor bug problem Pin
John Cruz17-Mar-02 12:19
John Cruz17-Mar-02 12:19 
GeneralRe: My Copy Constructor bug problem Pin
John Cruz17-Mar-02 12:27
John Cruz17-Mar-02 12:27 
I have tried it but the compiler gave me an error saying operator= not available. Does CPen and CFont have an Assignment operator... here is what i did..

// Create new objects
mpPen = new CPen;
mpFont = new CFont;

// Set the values to the new values
*mpPen = *Copy.mpPen;
*mpFont = *Copy.mpFont;



Thank you very much,
John
GeneralRe: My Copy Constructor bug problem Pin
Andrew Peace17-Mar-02 12:41
Andrew Peace17-Mar-02 12:41 
GeneralRe: My Copy Constructor bug problem Pin
John Cruz17-Mar-02 12:56
John Cruz17-Mar-02 12:56 
GeneralRe: My Copy Constructor bug problem Pin
Tim Smith17-Mar-02 13:14
Tim Smith17-Mar-02 13:14 
Generaldisable client-container menu.... Pin
Atila17-Mar-02 2:55
Atila17-Mar-02 2:55 
GeneralOnChar() problem ! Pin
Hadi Rezaee16-Mar-02 23:47
Hadi Rezaee16-Mar-02 23:47 
GeneralRe: OnChar() problem ! Pin
Christian Graus17-Mar-02 0:00
protectorChristian Graus17-Mar-02 0:00 
GeneralRe: OnChar() problem ! Pin
Hadi Rezaee17-Mar-02 3:10
Hadi Rezaee17-Mar-02 3:10 
GeneralHelp finding a Copy Constructor bug... Pin
John Cruz16-Mar-02 21:44
John Cruz16-Mar-02 21:44 
GeneralRe: Help finding a Copy Constructor bug... Pin
Atul Dharne17-Mar-02 18:33
Atul Dharne17-Mar-02 18:33 
QuestionHow to run FTP shell from a Win32 or C or MFC Application Pin
rodica16-Mar-02 20:51
rodica16-Mar-02 20:51 
AnswerRe: How to run FTP shell from a Win32 or C or MFC Application Pin
Philip Patrick17-Mar-02 0:43
professionalPhilip Patrick17-Mar-02 0:43 
GeneralVirtual list control Pin
Morozov Alexey16-Mar-02 19:59
Morozov Alexey16-Mar-02 19:59 
GeneralOutputting to Excel format Pin
Wolfram Steinke16-Mar-02 17:33
Wolfram Steinke16-Mar-02 17:33 
GeneralRe: Outputting to Excel format Pin
Christian Graus16-Mar-02 17:42
protectorChristian Graus16-Mar-02 17:42 
GeneralRe: Outputting to Excel format Pin
Michael P Butler17-Mar-02 4:03
Michael P Butler17-Mar-02 4:03 
GeneralRe: Outputting to Excel format Pin
Wolfram Steinke17-Mar-02 7:19
Wolfram Steinke17-Mar-02 7:19 
GeneralWhere is a Trace Statement outputted Pin
John Cruz16-Mar-02 17:28
John Cruz16-Mar-02 17:28 

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.