Click here to Skip to main content
15,499,571 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Comparing Files for Differences Pin
User 5838523-Oct-17 8:28
MemberUser 5838523-Oct-17 8:28 
Questionsend notification to srvice Pin
john563227-Sep-17 0:05
Memberjohn563227-Sep-17 0:05 
AnswerRe: send notification to srvice Pin
CPallini27-Sep-17 0:25
mveCPallini27-Sep-17 0:25 
QuestionTo create drag and drop graphics builder Pin
manoharbalu25-Sep-17 22:05
Membermanoharbalu25-Sep-17 22:05 
AnswerRe: To create drag and drop graphics builder Pin
Richard MacCutchan25-Sep-17 22:19
mveRichard MacCutchan25-Sep-17 22:19 
GeneralRe: To create drag and drop graphics builder Pin
manoharbalu25-Sep-17 23:26
Membermanoharbalu25-Sep-17 23:26 
GeneralRe: To create drag and drop graphics builder Pin
Richard MacCutchan25-Sep-17 23:30
mveRichard MacCutchan25-Sep-17 23:30 
QuestionHelp with no default constructor message Pin
ForNow23-Sep-17 20:03
MemberForNow23-Sep-17 20:03 
Hi
I have a number of rich edit classes in my project. Defined basically as such

class Myrich : public CrichEditCtrl they all have a default constructor with no parameters

I now wanted to extend their functionality with paging (up or down) cursor selection etc.

So I wrote a class KeyStroke. I declared KyStroke(s) in each of my classes as such

KeyStroke mykeys; in my .h class definitions. My constructer for KeyStroke takes 2

parameters the number of lines in the rich edit and a pointer to a rich edit class

So that meant I would have to modify my rich edit constructor as such

MyRich::MyRich() ---> MyRich::MyRich(int numlines, CRichEditCtrl* myrichptr) : KeyStroke(int numlines, CRichEditCtrl* myrichptr)

I am getting all sorts of errors with this such as "int" unexpected and KeyStroke no default contsructor
AnswerRe: Help with no default constructor message Pin
Richard MacCutchan23-Sep-17 22:06
mveRichard MacCutchan23-Sep-17 22:06 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 4:52
MemberForNow24-Sep-17 4:52 
GeneralRe: Help with no default constructor message Pin
Richard MacCutchan24-Sep-17 5:00
mveRichard MacCutchan24-Sep-17 5:00 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 5:12
MemberForNow24-Sep-17 5:12 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 7:02
MemberForNow24-Sep-17 7:02 
AnswerRe: Help with no default constructor message Pin
Richard Andrew x6424-Sep-17 6:40
professionalRichard Andrew x6424-Sep-17 6:40 
GeneralRe: Help with no default constructor message Pin
ForNow24-Sep-17 6:57
MemberForNow24-Sep-17 6:57 
GeneralRe: Help with no default constructor message Pin
Richard Andrew x6424-Sep-17 7:10
professionalRichard Andrew x6424-Sep-17 7:10 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 10:28
MemberForNow24-Sep-17 10:28 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 11:14
professionalRichard Andrew x6424-Sep-17 11:14 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 11:52
MemberForNow24-Sep-17 11:52 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 12:07
professionalRichard Andrew x6424-Sep-17 12:07 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 12:19
MemberForNow24-Sep-17 12:19 
AnswerRe: Help with no default constructor message .. related question Pin
Richard Andrew x6424-Sep-17 12:39
professionalRichard Andrew x6424-Sep-17 12:39 
GeneralRe: Help with no default constructor message .. related question Pin
ForNow24-Sep-17 13:52
MemberForNow24-Sep-17 13:52 
GeneralRe: Help with no default constructor message .. related question found answer Pin
ForNow25-Sep-17 9:35
MemberForNow25-Sep-17 9:35 
AnswerRe: Help with no default constructor message Pin
Jochen Arndt25-Sep-17 22:30
professionalJochen Arndt25-Sep-17 22:30 

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.