该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
/**************************************************************************************
根据击键的不同,传递不同的参数……
/**************************************************************************************
void GetKayMidi(HWND hwnd){
switch(keyChar){
case 'q'://81
case 'Q':
MiDiShow(hwnd,48);
break;
case '1'://49
MiDiShow(hwnd,49);
break;
case 'w'://87
case 'W':
MiDiShow(hwnd,50);
break; case '2'://50
MiDiShow(hwnd,51);
break;
case 'e'://69
case 'E':
MiDiShow(hwnd,52);
break;
case 'r'://82
case 'R':
MiDiShow(hwnd,53);
break;
case 'z'://90
case 'Z':
MiDiShow(hwnd,54);
break;
case 'a'://65
case 'A':
MiDiShow(hwnd,55);
break;
case 'x'://88
case 'X':
MiDiShow(hwnd,56);
break;
case 's'://83
case 'S':
MiDiShow(hwnd,57);
break;
case 'c'://67
case 'C':
MiDiShow(hwnd,58);
break;
case 'd'://68
case 'D':
MiDiShow(hwnd,59);
break;
case 'f'://70
case 'F':
MiDiShow(hwnd,60);
break;
case 'v'://86
case 'V':
MiDiShow(hwnd,61);
break;
case 'g'://71
case 'G':
MiDiShow(hwnd,62);
break;
case 'b'://66
case 'B':
MiDiShow(hwnd,63);
break;
case 'h'://72
case 'H':
MiDiShow(hwnd,64);
break;
case 'j'://74
case 'J':
MiDiShow(hwnd,65);
break;
case 'n'://78
case 'N':
MiDiShow(hwnd,66);
break;
case 'k'://75
case 'K':
MiDiShow(hwnd,67);
break;
case 'm'://77
ca****iDiShow(hwnd,68);
break;
case 'l'://76
case 'L':
MiDiShow(hwnd,69);
break;
case ','://188
MiDiShow(hwnd,70);
break;
case ';':
MiDiShow(hwnd,71);
break;
case 39:
MiDiShow(hwnd,72);
break;
case '.':
MiDiShow(hwnd,73);
break;
case 'u'://85
case 'U':
MiDiShow(hwnd,74);
break;
case '/':
MiDiShow(hwnd,75);
break;
case 'i': //73
case 'I':
MiDiShow(hwnd,76);
break;
case 'o': //79
case 'O':
MiDiShow(hwnd,77);
break;
case '8': //56
MiDiShow(hwnd,78);
break;
case 'p'://80
case 'P':
MiDiShow(hwnd,79);
break;
case '9'://57
MiDiShow(hwnd,80);
break;
case '[':
MiDiShow(hwnd,81);
break;
case '0'://48
MiDiShow(hwnd,82);
break;
case ']':
MiDiShow(hwnd,83);
break;
default :break;
}
}