[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Default beep when clicking in list control on Vista

Posted on 2007-04-02
4
Medium Priority
?
393 Views
Last Modified: 2013-11-20
Hi,
Our application contains many MFC CListCtrl objects with Report View style.  When we run our application on a Vista machine, clicking (left or right mouse button) in the list control results in the default beep sound.   This doesn't happen on XP or Windows 2000.  We build with Visual Studio.Net 2002, and I noticed that this also happens with some lists in that IDE.  Our product release date is quickly coming up, so I really need to resolve this soon.  Any ideas would be much appreciated!!!  
-Elaine
0
Comment
Question by:eklh
3 Comments
 
LVL 11

Expert Comment

by:Deepu Abraham
ID: 18846484
I don't think you could do without accessing the device driver level. There is one functioin which reduce the volume.
waveOutSetVolume(NULL, 0x00000000);
Best Regards,
DeepuAbrahamK
0
 

Author Comment

by:eklh
ID: 18992361
I found a solution for my problem, meant to post it sooner.  It seems like the default beep was being caused by something within the MFC CListCtrl class -- not sure what.  We had implemented a custom list control in our application, so I changed our application to always use our custom list control instead of the MFC CListCtrl, and that solved the problem.  I'm not sure what it is in the MFC CListCtrl class that was causing the problem, but I did notice that Visual Studio.NET 2002 also had the same problem when I clicked in some of its list controls on our Vista machine, so it wasn't only happening with our app.  Regardless, not using the MFC CListCtrl got rid of the beep.
-Elaine
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19012978
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Suggested Courses

834 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