Click here to Skip to main content
15,892,480 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CEdit SetSel and Scrolling Pin
Nibu babu thomas17-May-06 17:22
Nibu babu thomas17-May-06 17:22 
GeneralRe: CEdit SetSel and Scrolling Pin
Thomas Blenkers20-May-06 7:19
Thomas Blenkers20-May-06 7:19 
GeneralRe: CEdit SetSel and Scrolling Pin
Nibu babu thomas21-May-06 17:48
Nibu babu thomas21-May-06 17:48 
QuestionOLE Automation and MS Outlook. Pin
Chris Meech16-May-06 8:41
Chris Meech16-May-06 8:41 
AnswerRe: OLE Automation and MS Outlook. Pin
Steve Echols16-May-06 18:45
Steve Echols16-May-06 18:45 
GeneralRe: OLE Automation and MS Outlook. Pin
Chris Meech17-May-06 2:53
Chris Meech17-May-06 2:53 
GeneralRe: OLE Automation and MS Outlook. Pin
Chris Meech17-May-06 3:26
Chris Meech17-May-06 3:26 
QuestionNeed Help with CMainFrame and VS 7.0 Pin
Jethro6316-May-06 8:15
Jethro6316-May-06 8:15 
Greetings:

I am writing an application with Visual Studio 2003. I am using an C++ MFC Single Document Interface. My work has come to a dead stop because Visual Studio is not allowing me to add an event handler to the CMainFrame class.

It started when I added a push button to the apps main CFormView window. I wanted CMainFrame to handle it. I get an error message from Visual Studio:

"Add/remove of the function is impossible, because the parent class code is read only."

I have also tried adding a Windows message handler to CMainFrame (like WM_SIZE). Same complaint.

The "MainFrm.h" and "MainFrm.cpp" files are NOT read only. I checked their properties under Windows Explorer. Also, if I load either of these files into my editor and make a small change to them, they are saved without complaint. In fact, absolutely NONE of the files associated with this project, including sub-directories, are read only! They are all writable. I have also checked and verified that none of my source or project files have been inadvertently loaded into some other editor application.

Could somebody tell me what is going on?

Thank you,
Mark

AnswerRe: Need Help with CMainFrame and VS 7.0 Pin
led mike16-May-06 8:50
led mike16-May-06 8:50 
GeneralRe: Need Help with CMainFrame and VS 7.0 Pin
Jethro6316-May-06 8:55
Jethro6316-May-06 8:55 
GeneralRe: Need Help with CMainFrame and VS 7.0 Pin
led mike16-May-06 8:59
led mike16-May-06 8:59 
QuestionCommand line parameters[modified] Pin
ddmcr16-May-06 7:53
ddmcr16-May-06 7:53 
QuestionRe: Command line parameters Pin
David Crow16-May-06 8:39
David Crow16-May-06 8:39 
AnswerMessage Closed Pin
16-May-06 8:49
ddmcr16-May-06 8:49 
GeneralRe: Command line parameters Pin
David Crow16-May-06 8:58
David Crow16-May-06 8:58 
GeneralMessage Closed Pin
16-May-06 9:50
ddmcr16-May-06 9:50 
QuestionRe: Command line parameters[modified] Pin
David Crow16-May-06 10:26
David Crow16-May-06 10:26 
QuestionHow i create my own graphics for my applications Pin
Immunity1816-May-06 7:20
Immunity1816-May-06 7:20 
QuestionRe: How i create my own graphics for my applications Pin
led mike16-May-06 7:23
led mike16-May-06 7:23 
AnswerRe: How i create my own graphics for my applications Pin
Immunity1816-May-06 7:28
Immunity1816-May-06 7:28 
GeneralRe: How i create my own graphics for my applications Pin
SimonSays16-May-06 7:50
SimonSays16-May-06 7:50 
GeneralRe: How i create my own graphics for my applications Pin
David Crow16-May-06 8:08
David Crow16-May-06 8:08 
QuestionTimer Pin
Castello0716-May-06 4:32
Castello0716-May-06 4:32 
AnswerRe: Timer Pin
led mike16-May-06 4:46
led mike16-May-06 4:46 
AnswerRe: Timer Pin
Roger Stoltz16-May-06 4:55
Roger Stoltz16-May-06 4:55 

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.