Solved

Default beep when clicking in list control on Vista

Posted on 2007-04-02
4
379 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
4 Comments
 
LVL 11

Expert Comment

by:DeepuAbrahamK
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
WinWaitActive parameters 12 31
changeXy challenge 13 57
Change to event 1 73
Not needed 13 57
There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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…

757 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

21 Experts available now in Live!

Get 1:1 Help Now