1.定义消息
static const UINT Msg_Test = ::RegisterWindowMessage(MSG_TEST);
2.注册消息
static const UINT MsgEapTestStart = ::RegisterWindowMessage(EAP_TEST_START);
3.发送消息
::SendNotifyMessage(HWND_BROADCAST,MsgEapTestStart,0,0);
1.定义消息
static const UINT Msg_Test = ::RegisterWindowMessage(MSG_TEST);
2.注册消息
static const UINT MsgEapTestStart = ::RegisterWindowMessage(EAP_TEST_START);
3.发送消息
::SendNotifyMessage(HWND_BROADCAST,MsgEapTestStart,0,0);