MessageBeep

//MessageBeep 
//LongInt
BOOL MessageBeep(
UINT uType //Cardinal type
);
//参数
- 1 
MB_OK = 0;
MB_ICONHAND = 16;
MB_ICONQUESTION = 32;
MB_ICONEXCLAMATION = 48;
MB_ICONASTERISK = 64;


//example
MessageBeep(Cardinal( - 1));

//下面的Cardinal可带可不带
messagebeep( 0);
MessageBeep (MB_ICONASTERISK);
MessageBeep (MB_ICONEXCLAMATION);
MessageBeep (MB_ICONHAND);
MessageBeep (MB_ICONQUESTION);
MessageBeep (MB_OK);

//以国际标准音的高度发声, 持续 1 秒钟 
Windows.Beep( 440, 1000);
 
// 和comboBox配合参数怎么实现




你可能感兴趣的:(message)