完成发送ping命令,WORD wID = GetCurrentMessage()->wParam; // Have the CWave object load the wave // resource for the sound that's been // selected. if( wID == ID_SOUNDS_LOADFROMRESOURCE_BARK ) m_Wave.Load( IDR_WAVE3, AfxGetInstanceHandle() ); else if( wID == ID_SOUNDS_LOADFROMRESOURCE_SHOCK )