Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: overloading [ ] [ ] operator Pin
Cedric Moonen13-Apr-05 1:09
Cedric Moonen13-Apr-05 1:09 
GeneralRe: overloading [ ] [ ] operator Pin
Axter26-Apr-05 17:49
professionalAxter26-Apr-05 17:49 
GeneralProblems with Custom controls in separate resource dll Pin
Gemini_II12-Apr-05 23:27
Gemini_II12-Apr-05 23:27 
GeneralRe: Problems with Custom controls in separate resource dll Pin
Member 796598513-Apr-05 1:10
Member 796598513-Apr-05 1:10 
GeneralProblem in loading metafile in VC++ MFC Pin
Sud_8312-Apr-05 23:16
Sud_8312-Apr-05 23:16 
GeneralRe: Problem in loading metafile in VC++ MFC Pin
Chris Losinger13-Apr-05 3:18
professionalChris Losinger13-Apr-05 3:18 
GeneralProblem with CListCtrl Pin
Neeranjan12-Apr-05 23:09
Neeranjan12-Apr-05 23:09 
QuestionHow to send a message from a object to its parents? Pin
thanh-hai.bui12-Apr-05 22:30
thanh-hai.bui12-Apr-05 22:30 
hi!

For example, i have a class CMyRichEditCtrl that extends CWnd. In this class, i declare a CRichEditCtrl membre.

In CMyRichEditCtrl, i've declared a function :
BOOL CEdataRichEdit::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)<br />
{<br />
  if (wParam == IDC_RICH)<br />
  {<br />
    // Here, i want to send this function, that means OnNotify to its parents (a Dialog) <big>(1)</big><br />
  }<br />
  return CWnd::OnNotify(wParam, lParam, pResult);<br />
}


In my dialog (MyDialogDlg), i've some buttons, and OnNotify function too.

Question: I want to call a function (OnNotify for example) of MyDialogDlg in <big>(1)</big>? How can i do?

thanhks for all help!

hzocm
AnswerRe: How to send a message from a object to its parents? Pin
Joel Holdsworth12-Apr-05 22:54
Joel Holdsworth12-Apr-05 22:54 
GeneralRe: How to send a message from a object to its parents? Pin
thanh-hai.bui13-Apr-05 0:50
thanh-hai.bui13-Apr-05 0:50 
AnswerRe: How to send a message from a object to its parents? Pin
ThatsAlok12-Apr-05 23:01
ThatsAlok12-Apr-05 23:01 
GeneralConversion to LONGLONG Pin
fardak12-Apr-05 21:57
fardak12-Apr-05 21:57 
GeneralRe: Conversion to LONGLONG Pin
Joel Holdsworth12-Apr-05 22:17
Joel Holdsworth12-Apr-05 22:17 
GeneralRe: Conversion to LONGLONG Pin
fardak12-Apr-05 22:34
fardak12-Apr-05 22:34 
GeneralRe: Conversion to LONGLONG Pin
Joel Holdsworth12-Apr-05 22:44
Joel Holdsworth12-Apr-05 22:44 
GeneralRe: Conversion to LONGLONG Pin
fardak12-Apr-05 23:27
fardak12-Apr-05 23:27 
GeneralRe: Conversion to LONGLONG Pin
Joel Holdsworth12-Apr-05 23:39
Joel Holdsworth12-Apr-05 23:39 
GeneralRe: Conversion to LONGLONG Pin
fardak13-Apr-05 0:02
fardak13-Apr-05 0:02 
GeneralRe: Conversion to LONGLONG Pin
David Crow13-Apr-05 2:36
David Crow13-Apr-05 2:36 
GeneralRe: Conversion to LONGLONG Pin
Joel Holdsworth13-Apr-05 3:21
Joel Holdsworth13-Apr-05 3:21 
GeneralRe: Conversion to LONGLONG Pin
fardak13-Apr-05 4:42
fardak13-Apr-05 4:42 
GeneralRe: Conversion to LONGLONG Pin
Michael Dunn13-Apr-05 2:20
sitebuilderMichael Dunn13-Apr-05 2:20 
GeneralRe: Conversion to LONGLONG Pin
fardak13-Apr-05 4:35
fardak13-Apr-05 4:35 
GeneralRe: Conversion to LONGLONG Pin
Michael Dunn13-Apr-05 7:22
sitebuilderMichael Dunn13-Apr-05 7:22 
GeneralRe: Conversion to LONGLONG Pin
fardak13-Apr-05 22:44
fardak13-Apr-05 22:44 

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.