Thread View: cn.bbs.comp.program
1 messages
1 total messages
Started by ܰ��
Tue, 24 Mar 1998 00:00
VC++ �е��Զ�����Ϣ
Author: ܰ��
Date: Tue, 24 Mar 1998 00:00
Date: Tue, 24 Mar 1998 00:00
37 lines
2017 bytes
2017 bytes
��VC++��������Զ�����Ϣ�����·����ɹ��ο���
1�� ���ȶ�����Ϣ������ define WM_MYMESSAGE (WM_USER+100)
2�� ��.H�ļ��У�������Ϣ��Ӧ�����磺
LONG OnMyMessage(WPARAM w,LPARAM l);
�ú����й涨�ĸ�ʽ��
LONG Function_Name(WPARAM w,LPARAM l);
3�� ������Ϣ��Ӧ�꣬����Ӧ����Ϣ�����У�����Ϣ��Ӧ���У�
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
// No message handlers
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
����������䣺ON_MESSAGE(WM_MYMESSAGE,OnMyMessage)
��Ϊ������ʽ��
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
ON_MESSAGE(WM_MYMESSAGE,OnMyMessage)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
4�� ��.CPP�ļ��У��༭��Ϣ��Ӧ�������£�
LONG CMyClass::OnMyMessage(WPARAM w,LPARAM l)
{
}
5�� ��ɡ�
���簡��
���㴵��Ԥ�ԵĺŽǣ�
���ѳ�˯�����࣬
�����Ѿ����ˣ�
���컹��Զ��
--------ѩ��
--
[m[1;33m�� ��Դ:���人���ƻƺ�վ s1000e.whnet.edu.cn��[FROM: cit.cs.sjtu.edu][m
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads