Microsoft MVP성태의 닷넷 이야기
Vista : 56. 목록상자 항목 선택시에 "띵"하는 소리 [링크 복사], [링크+제목 복사],
조회: 11616
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

목록상자 항목 선택시에 "띵"하는 소리


오호... 이거 겪어보신 분들 계시죠? ^^
저도 예전에 윈폼 응용 프로그램의 ListBox에서 이런 현상이 발생했었는데, 그 때는 개발 초기에 바빠서 신경쓸 시간이 없어 넘어갔다가 어느 순간 그런 현상이 없어져서 잊었던 기억이 나는데요. 그 당시에도 특이했던 것이 XP에서는 발생하지 않고, Vista에서만 발생했었습니다.

이에 대한 사연을 아래의 글에서 자세하게 이야기해주고 있습니다.

The story behind the mysterious "Ding" in Windows Vista. 
; http://blogs.msdn.com/larryosterman/archive/2009/09/03/the-story-behind-the-mysterious-ding-in-windows-vista.aspx

위의 글을 보니, 아마 그때 제가 했다면 원인 파악이 거의 안된 체 시간만 소모하지 않았을까 싶습니다.

재현 방법은 아래와 같이 간단하다는 군요.

  1. Clean Install Windows
  2. Open the sounds control panel
  3. Set the “Select” sound to a value
  4. Clear the “Select” sound (set it to “(None)”).
  5. Change the selection in a listview

해결 방법은 3가지 정도가 제시되는 것 같습니다.

  • Common Controls 6.0 을 사용하든가,
  • HKEY_CURRENT_USER\AppEvents\Schemes\.Default\CCSelect 레지스트리 키를 삭제하든가,
  • PlaySound API 사용시에 SND_NODEFAULT 옵션을 주던가. - (WinForm의 ListBox에서는 적용 불가능한 옵션)

이 버그의 이력이 또 재미있습니다. XP 에서 원래 수정되었고 Windows Server 2003에는 XP의 버그 픽스가 모두 반영이 되었다는데, 어찌된 일인지 위의 버그만은 누락되었다고 합니다. 그런데 Vista 의 기반 코드가 Windows Server 2003이었고, 그 부분의 문제가 수정되지 않은 체로 Vista에 넘어왔다는 이야기! 물론 Windows 7에서는 수정되었다고 합니다.

참고로, Vista 이후로 Windows Server 버전과 코드를 동일하게 가져가고 있기 때문에 위와 같은 해프닝은 이제 발생하지 않을 것입니다. (그래서 Windows Server 2008은 나올때 부터 SP1이었죠. ^^)



[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 9/25/2009]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  [38]  39  40  41  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
239정성태4/18/20069239Display a Web Page in a Plain C Win32 Application
238정성태4/17/20069246ASP.NET 2.0 의 Provider 관련 쪽 소스 공개
237정성태4/17/20069010Microsoft Application Verifier
236정성태4/17/200610126IIS6 - IE static resource caching problem
235정성태4/13/20068766"Atlas" Control Toolkit for April CTP Released
234정성태4/13/20069118Access Visual Studio 2005 Team System From Macintosh and UNIX Systems, and from within the Eclipse IDE
233정성태4/13/20068871More Workflow Videos
232정성태4/13/20069871Microsoft Visual C++ 2005 Redistributable Package
231정성태4/13/20069418Windows Presentation Foundation Hands-On-Labs - February 2006 CTP
230정성태4/13/20069276Microsoft Management Model Designer
229정성태4/13/200610320Discovery Wizard for SharePoint
228정성태4/13/20069873TeamPlain Web Access for Team System
227정성태4/13/20069594Scrum for Team System Released
226정성태4/13/20069588Visual Studio Team Foundation Server MSSCCI Provider Version 1.0
224정성태4/13/20069224VC++ - GroupLab Component Library
223정성태4/13/20068299MSBuild Community Tasks Project releases new version
225정성태4/13/20067783    답변글 Visual Studio 2005 Web Application Projects (RC1)
222정성태4/13/20068802Visual Studio 2005 Security Features and Tools
220정성태6/8/20068625Shared Source Common Language Infrastructure 2.0 Release [1]
219정성태8/4/20068543Simple List Extensions Specification
218정성태4/13/200691093rd party library - EZShellExtensions.Net 1.0 [1]
217정성태4/13/20068976Bug Details: GC fails to load in server mode if config file contains none ASCII characters
215정성태4/13/20069105http://www.400plusdifferences.com/
214정성태4/13/20067824Team Foundation Server, Biztalk 2006
216정성태4/13/20069038    답변글 Team Foundation Server 시험판 공개 다운로드
213정성태4/13/20068997Introduction to the MSN Messenger Activity SDK
... 31  32  33  34  35  36  37  [38]  39  40  41  42  43  44  45  ...