- - * - WhiteUnicorn - * - -




* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >


Frequently Asked Questions

How can I beep the PC Speaker?

Question:

How can I beep the PC Speaker?

Answer:

Call the Windows API function MessageBeep.

Example:

procedure TForm1.Button1Click(Sender: TObject);
begin
  MessageBeep(word(-1));
end;



* #WhiteUnicorn/ StartPage/ Documentation/DelphiFAQ >



- - * - Anastasija aka WhiteUnicorn - * - - LJLiveJournal
PFPhotoFile