the way I use #VK_RETURN in my little code, causes this great Windows xylophone sound when you press return. It's not a real error, but users can suppose, that something wrong, because messageboxes use the same sound. Does anybody know, how to avoid it ?
Ofcourse I could use Addkeyboardshortcut, but in this case I can't use this great PURELVSORT library to edit Listicon cells, because return is blocked in this case.

Code: Select all
If OpenWindow(0, 0, 0, 322, 205, "StringGadget Flags", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) And CreateGadgetList(WindowID(0))
StringGadget(0, 8, 10, 306, 20, "")
SetActiveGadget(0)
Repeat
event = WaitWindowEvent()
Select event
Case #WM_KEYDOWN
If EventwParam() = #VK_RETURN
Debug "Return with great xylophone sound"
EndIf
EndSelect
Until event = #PB_Event_CloseWindow
EndIf