Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Why wont my wxBell ring??
(1/1)
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...
--- Code: ---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;
}
--- End code ---
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
Navigation
[0] Message Index
Go to full version