News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Why wont my wxBell ring??

Started by Pecan, October 26, 2005, 01:45:15 AM

Previous topic - Next topic

Pecan

Its me again ! No dont run !

The following code displays its message, but does not ring
the bell on my PC. (WinXP sp2 Dell 9300).
Using C::B RC2 with wx2.6.1
A Ctl-G to a dos box works fine. So what gives...


int uPlgN2::Execute()
{
//do your magic ;)
//NotImplemented(_T("uPlgN2::Execute()"));
//return -1;
::wxBell();
wxString msg = _("Execute called from uPlgN2 bell!");
wxMessageBox(msg, _("Error"), wxICON_ERROR | wxOK);
    return 0;
}


thanks
Pecan

Pecan

Nerver Mind..... :mrgreen:

Seems there was no sound system choice in Start->Settings->"Sounds and
Audio devices".

Its was a silent silent world.

thanks
Pecan