FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister  MasterVB.NET
Visual Basic 2005 .NET Forum
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Problem trying to add a message handler to an MFC class
 
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Windows Registry and File I/O
View previous topic :: View next topic  
Message
Author
igorcarajo
Newbie
Joined: 14 Jul 2006
Posts: 1

PostPosted: Fri Jul 14, 2006 1:00 am    
Post subject: Problem trying to add a message handler to an MFC class
Reply with quote

Hello, I have the following problem with Visual C++ 2005. I have a custom class derived from CDialog. I want to add a message handler for the WM_CLOSE message. In the "Class View" I select the class, then I go to the properties window and select "Messages", then I select WM_CLOSE and click on "<Add> OnClose", and I get an error message that says
"Add/Remove operation is impossible, because the code element
'ClassName' is read-only". Both my header and source files are read/write. Thanks in advance for any suggestions.



 

Back to top
View user's profile Send private message
Author
maikwiege
Newbie
Joined: 19 Jul 2006
Posts: 1

PostPosted: Wed Jul 19, 2006 1:00 am    
Post subject:
Reply with quote

I read in an other thread that for there cases the problem was fixed by uninstalling the Internet Explorer 7 (beta?).
In my case I have the problem and no IE7 installed, so perhaps my problem may be Windows XP x64. I Still didn't found a solution to fix it for me. :-(

Hope you have IE7 installed! ;-)

Greetings
Maik



 

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Windows Registry and File I/O All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Archieve

Powered by phpBB © 2001, 2002 phpBB Group, used in Visual Basic 2005 .NET Forum

| Visual Basic .NET Forum | Online Recipe Archiver | Shareware Freeware PAD | Lowongan Kerja | Kamus Online | Health Supply | Digital Camera Review |
Orang Paling Keren

RSS