Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC text box flicker Pin
ejw6-Apr-02 18:56
ejw6-Apr-02 18:56 
QuestionCan we get extended info from RAS Connection Pin
Tili6-Apr-02 13:22
Tili6-Apr-02 13:22 
GeneralSending a file over socket Pin
Rickard Andersson206-Apr-02 10:27
Rickard Andersson206-Apr-02 10:27 
GeneralRe: Sending a file over socket Pin
Nish Nishant6-Apr-02 14:57
sitebuilderNish Nishant6-Apr-02 14:57 
GeneralRe: Sending a file over socket Pin
Rickard Andersson207-Apr-02 0:27
Rickard Andersson207-Apr-02 0:27 
GeneralRe: Sending a file over socket Pin
6-Apr-02 15:37
suss6-Apr-02 15:37 
GeneralRe: Sending a file over socket Pin
Nish Nishant6-Apr-02 16:36
sitebuilderNish Nishant6-Apr-02 16:36 
GeneralSending CChildView a Message :: MFC Pin
valikac6-Apr-02 9:52
valikac6-Apr-02 9:52 
Hi.

I am working on a program using the doc/view architecture. There is basically the program. There is a modeless dialog box where the user enters some information. When the user clicks "Apply" the dialog box sends a message to CMainFrame. From there, CMainFrame sends a message to CChildView. CChildView then draws the information as text inside its area.

I do not know how to send CChildView a message within CMainFrame. I am using the same technique Promises uses in Chapter 8 dialog 2 program (example of modeless). The only difference is he did not implement the program using doc/view. I am. In doc/view I do not know how to send a message from CMainFrame to CChildView because there is not CChildView object defined in CMainFrame:

CMyChildView cView;
cView.PostMessage(WM_MY_MESSAGE, 0, 0)

The code above does not work in doc/view.

I am using the same technique that Promises did. I am not sure if that is the prefer technique in the doc/view architecture. Please mention I should send the message directly from the dialog box to CChildView and how.

Thanks,
Kuphryn
GeneralRe: Sending CChildView a Message :: MFC Pin
Michael Dunn6-Apr-02 14:56
sitebuilderMichael Dunn6-Apr-02 14:56 
GeneralWinMain exit code Pin
mrbreakit6-Apr-02 9:20
mrbreakit6-Apr-02 9:20 
GeneralRe: WinMain exit code Pin
Rickard Andersson206-Apr-02 10:18
Rickard Andersson206-Apr-02 10:18 
GeneralRe: WinMain exit code Pin
Rickard Andersson206-Apr-02 10:33
Rickard Andersson206-Apr-02 10:33 
GeneralRe: WinMain exit code Pin
mrbreakit6-Apr-02 11:48
mrbreakit6-Apr-02 11:48 
GeneralRe: WinMain exit code Pin
jafrazee6-Apr-02 11:48
jafrazee6-Apr-02 11:48 
GeneralRe: WinMain exit code Pin
mrbreakit6-Apr-02 11:53
mrbreakit6-Apr-02 11:53 
QuestionHow to make a VC++ program web enabled Pin
Rostrox6-Apr-02 8:51
Rostrox6-Apr-02 8:51 
GeneralC++ for C165-board Pin
Dominik Reichl6-Apr-02 7:08
Dominik Reichl6-Apr-02 7:08 
GeneralRe: C++ for C165-board Pin
Shog96-Apr-02 8:15
sitebuilderShog96-Apr-02 8:15 
GeneralRe: C++ for C165-board Pin
Dominik Reichl6-Apr-02 8:38
Dominik Reichl6-Apr-02 8:38 
GeneralRe: C++ for C165-board Pin
Shog96-Apr-02 8:42
sitebuilderShog96-Apr-02 8:42 
GeneralRe: C++ for C165-board Pin
Dominik Reichl6-Apr-02 9:00
Dominik Reichl6-Apr-02 9:00 
GeneralRe: C++ for C165-board Pin
Shog96-Apr-02 9:13
sitebuilderShog96-Apr-02 9:13 
GeneralRe: C++ for C165-board Pin
Dominik Reichl6-Apr-02 9:05
Dominik Reichl6-Apr-02 9:05 
GeneralRe: C++ for C165-board Pin
jafrazee6-Apr-02 11:54
jafrazee6-Apr-02 11:54 
Generalfseek() - generic question dued to a problem Pin
Lockhart6-Apr-02 6:56
Lockhart6-Apr-02 6:56 

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.