?
Solved

Default beep when clicking in list control on Vista

Posted on 2007-04-02
4
Medium Priority
?
390 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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…

800 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