Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#17 closed Bug (Rejected)

_WinAPI_MessageBeep with parameter 3

Reported by: Xenobiologist Owned by:
Milestone: Component: AutoIt
Version: 3.2.10.0 Severity:
Keywords: Cc:

Description

Hi,

I do not get any sound on number 3. Why?

#Include <WinAPI.au3>
FOr $i = 0 To 5
	Switch $i
		case 0
			ToolTip('Simple beep. If a sound card is not available, the speaker is used.')
		case 1
			ToolTip('OK.')
		case 2
			ToolTip('Hand')
		case 3
			ToolTip('Question')
		case 4
			ToolTip('Exclamation')
		case 5
			ToolTip('Asterisk')
	EndSwitch
	_WinAPI_MessageBeep($i)
	Sleep(2000)
Next

Thanks!

So long,

Mega

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by Gary

I believe by default the Question has no sound assigned to it.

Go into Sounds from the control panel and check, mine doesn't have a sound assigned to it.

comment:2 Changed 11 years ago by Gary

  • Resolution set to rejected
  • Status changed from new to closed

comment:3 Changed 11 years ago by Xenobiologist

Hi,

thanks!

Now I understand which sounds that are and where they come from.
And you are right, after setting a sound it is played. :-)

So long,

Mega

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.