Click here to Skip to main content
15,916,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Browse the file and read it. Pin
Cedric Moonen5-Nov-07 23:12
Cedric Moonen5-Nov-07 23:12 
GeneralRe: Browse the file and read it. Pin
CodingLover5-Nov-07 23:16
CodingLover5-Nov-07 23:16 
AnswerRe: Browse the file and read it. Pin
Jhony george5-Nov-07 23:06
Jhony george5-Nov-07 23:06 
AnswerRe: Browse the file and read it. Pin
Nelek5-Nov-07 23:26
protectorNelek5-Nov-07 23:26 
QuestionRe: Browse the file and read it. Pin
CodingLover5-Nov-07 23:34
CodingLover5-Nov-07 23:34 
AnswerRe: Browse the file and read it. Pin
Hamid_RT5-Nov-07 23:46
Hamid_RT5-Nov-07 23:46 
GeneralRe: Browse the file and read it. Pin
CodingLover6-Nov-07 0:13
CodingLover6-Nov-07 0:13 
GeneralRe: Browse the file and read it. Pin
Hamid_RT6-Nov-07 1:40
Hamid_RT6-Nov-07 1:40 
GeneralRe: Browse the file and read it. Pin
chandu0046-Nov-07 1:50
chandu0046-Nov-07 1:50 
GeneralRe: Browse the file and read it. Pin
CodingLover6-Nov-07 18:34
CodingLover6-Nov-07 18:34 
GeneralRe: Browse the file and read it. Pin
Nelek6-Nov-07 21:01
protectorNelek6-Nov-07 21:01 
GeneralRe: Browse the file and read it. Pin
CodingLover6-Nov-07 21:40
CodingLover6-Nov-07 21:40 
AnswerRe: Browse the file and read it. Pin
Nelek5-Nov-07 23:52
protectorNelek5-Nov-07 23:52 
NewsRe: Browse the file and read it. Pin
CodingLover6-Nov-07 0:46
CodingLover6-Nov-07 0:46 
QuestionRe: Browse the file and read it. Pin
Nelek6-Nov-07 1:52
protectorNelek6-Nov-07 1:52 
QuestionMessage Map Problem [modified] Pin
minihotto5-Nov-07 22:39
minihotto5-Nov-07 22:39 
AnswerRe: Message Map Problem Pin
baerten5-Nov-07 23:35
baerten5-Nov-07 23:35 
QuestionRe: Message Map Problem Pin
minihotto6-Nov-07 1:24
minihotto6-Nov-07 1:24 
Thx for your reply.
It helps me a lot.
But I still get some errors.

I create a header file that named CMyView and the content is following.

#ifndef CMYVIEW_H<br />
#define CMYVIEW_H<br />
#include <afxwin.h><br />
#include <afxext.h><br />
	public class CMyView : public CFormView<br />
	{<br />
		LRESULT OnUI1(WPARAM wParam, LPARAM lParam);<br />
		LRESULT OnUI2(WPARAM wParam, LPARAM lParam);<br />
		LRESULT onMixerCallBack(WPARAM wParam, LPARAM lParam);<br />
<br />
	};<br />
#endif


And my code is modified as below.

BEGIN_MESSAGE_MAP(CMyView,CFormView)<br />
	ON_MESSAGE(WM_UI1, OnUI1)<br />
	ON_MESSAGE(WM_UI2, OnUI2)<br />
	ON_MESSAGE(MM_MIXM_LINE_CHANGE,onMixerCallBack)<br />
	ON_MESSAGE(MM_MIXM_CONTROL_CHANGE,onMixerCallBack)<br />
END_MESSAGE_MAP()


And there's the error.

error C2509: 'GetMessageMap' : member function not declared in 'CMyView'
error C2509: 'GetThisMessageMap' : member function not declared in 'CMyView'

How could I solve this problem?
Appreciate for ur reply.
Thx.
AnswerRe: Message Map Problem Pin
minihotto6-Nov-07 1:42
minihotto6-Nov-07 1:42 
GeneralRe: Message Map Problem Pin
baerten6-Nov-07 1:59
baerten6-Nov-07 1:59 
Questionprotect from print-screen Pin
vikramlinux5-Nov-07 22:29
vikramlinux5-Nov-07 22:29 
AnswerRe: protect from print-screen Pin
baerten5-Nov-07 22:37
baerten5-Nov-07 22:37 
GeneralRe: protect from print-screen Pin
Nelek5-Nov-07 23:23
protectorNelek5-Nov-07 23:23 
GeneralRe: protect from print-screen Pin
baerten5-Nov-07 23:37
baerten5-Nov-07 23:37 
GeneralRe: protect from print-screen Pin
Nelek6-Nov-07 1:53
protectorNelek6-Nov-07 1:53 

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.