eklh
asked on
Default beep when clicking in list control on Vista
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
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
ASKER
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
-Elaine
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
waveOutSetVolume(NULL, 0x00000000);
Best Regards,
DeepuAbrahamK