![]() (How to play sounds you can see in other answers.) In your application, read sound file path or DLL resource from your registry keys and play it.Create sound profile of your application in the Windows Registry (Hint: no need of programming, just add the keys into installer of your application.).Each user profile can override these sounds in own way. ![]() This way users can easily change or remove sounds from your application and you do not need to write any user interface for this – it is already there.Implement any other sounds as customizable by your users in Sound control panel Methods of class will play them for you. Question - play with questions (system message box window plays this one)Įxclamation - play with excalamation icon (system message box window plays this one)Ĭritical stop ("Hand") - play with error (system message box window plays this one) Use five standard system sounds in typical scenarios, i.e.Īsterisk - play when you want to highlight current event Besides that, always note these two points: Technical details of playing particular sound were provided in other answers. This is a bit high-level answer for applications which want to seamlessly fit into the Windows environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |