Windows Mobile, Play click sound on button click

Posted on 2008-11-11
Last Modified: 2013-12-27

I have a PDA application and i want to make the application play the standard click sound from windows when the user clicks buttons in my application, how can i do this ?
Question by:mSchmidt
    1 Comment
    LVL 24

    Accepted Solution

    you have few possibilities, e.g.

    1) use Win32 API MessageBeep() wrapper, like that (look for the 2nd option and replace user32.dll by coredll.dll):

    2) there are few 'playSound' APIs, also from coredll.dll, so you could wrap them as well

    3) look e.g. here:


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    I think the most popular question in our Windows Mobile Programming zone is about the backlight - we all want to keep it on when our application is running. Few years ago the function SystemIdleTimerReset() did this job. On our side we had to detec…
    Preface: This article is part of a series focused on cross platform mobile app development (specifically Android and iOS) using the Alloy framework and Titanium Studio made by Appcelerator ( This article presumes a wor…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now