Default beep when clicking in list control on Vista

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!!!  
Who is Participating?
Computer101Connect With a Mentor Commented:
PAQed with points refunded (500)

EE Admin
Deepu AbrahamR & D Engineering ManagerCommented:
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,
eklhAuthor Commented:
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.