🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.program
Article #1388

Re: VC++ �е��Զ�����Ϣ

#1388
From: ��
Date: Tue, 07 Apr 1998 00:00
40 lines
2398 bytes
����ʹ�û�������ġ�����Զ�����Ϣû��ע�ᣡ
Ӧ�ȶ���һstatic UINT wmMessage = ::RegisterWindowMessage("WM_MYMESSAGE")
Ȼ��ʹ��ON_REGISTERED_MESSAGE(wmMessage, OnMyMessage)������Ϣӳ��.

�� �� LeiYh.bbs@bbs.whnet.edu.cn (ܰ��) �Ĵ������ᵽ: ��
: ��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��     �󹦸�ɡ�
: ���簡��
: ���㴵��Ԥ�ԵĺŽǣ�
: ���ѳ�˯�����࣬
: �����Ѿ����ˣ�
: ���컹��Զ��
:         --------ѩ��


--
�� ��Դ:���������� BBS bbs.nease.net��[FROM: 202.100.5.197]
Technical Details
Message-ID: <3O11OI$oOm@bbs.nease.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: fc86e,e358e97dce745eb,start
X-Google-Attributes: gidfc86e,public
From: hsz.bbs@bbs.nease.net (��)
Subject: Re: VC++ �е��Զ�����Ϣ
Date: 1998/04/07
Message-ID: <3O11OI$oOm@bbs.nease.net>
X-Deja-AN: 341605967
X-Filename: cn_program/M.891927954.A
Organization: Net Ease
Newsgroups: cn.bbs.comp.program