Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Query:Re: Help URGENT!!! Need to display an image whose path is decided at run time. Pin
Tareq Ahmed Siraj1-Apr-05 22:28
Tareq Ahmed Siraj1-Apr-05 22:28 
GeneralEven with the same problems : Repaint Dialogs Pin
HackPrince1-Apr-05 13:20
HackPrince1-Apr-05 13:20 
GeneralGolden Rule in Programming... Pin
NewbieStats1-Apr-05 11:09
NewbieStats1-Apr-05 11:09 
GeneralRe: Golden Rule in Programming... Pin
Alexander M.,1-Apr-05 11:44
Alexander M.,1-Apr-05 11:44 
GeneralRe: Golden Rule in Programming... Pin
Anonymous1-Apr-05 17:05
Anonymous1-Apr-05 17:05 
GeneralRe: Golden Rule in Programming... Pin
Anonymous1-Apr-05 21:07
Anonymous1-Apr-05 21:07 
GeneralRe: Golden Rule in Programming... Pin
Tareq Ahmed Siraj1-Apr-05 23:04
Tareq Ahmed Siraj1-Apr-05 23:04 
GeneralDisable chime sound in MFC Pin
skonopa1-Apr-05 11:01
skonopa1-Apr-05 11:01 
I am trying to derive a CTreeCtrl, part of which to allow the user to press the space bar to toggle the check boxes. (Basically making an MFC version of Carlos Quintero's TriStateTree, with several other enhancements, since I cannot seem to find anything similiar already out there)

I did setup and write a message handler to trap the WM_KEYUP message and check if the spacebar was pressed, and toggle the checkboxes accordingly (which indeed works as tested thus far).

However, Windows has an annoying tendency to want to keep playing that stupid chime sound when pressing the space bar on a CTreeCtrl.

I've searched both here, MSDN, and the 'Net at large, and could not find anything to tell me how to disable the chiming sound.

How do I "shut-up" that chime sound programmatically in MFC?

Thanks
Steven Konopa
GeneralRe: Disable chime sound in MFC Pin
Michael Dunn1-Apr-05 16:43
sitebuilderMichael Dunn1-Apr-05 16:43 
GeneralRe: Disable chime sound in MFC Pin
skonopa4-Apr-05 3:29
skonopa4-Apr-05 3:29 
GeneralSubstituting in an if statement Pin
Cpt Rick1-Apr-05 9:24
Cpt Rick1-Apr-05 9:24 
GeneralRe: Substituting in an if statement Pin
Maximilien1-Apr-05 9:49
Maximilien1-Apr-05 9:49 
GeneralRe: Substituting in an if statement Pin
Cpt Rick1-Apr-05 10:07
Cpt Rick1-Apr-05 10:07 
GeneralRe: Substituting in an if statement Pin
Blake Miller1-Apr-05 12:05
Blake Miller1-Apr-05 12:05 
GeneralRe: Substituting in an if statement Pin
Michael Dunn1-Apr-05 16:46
sitebuilderMichael Dunn1-Apr-05 16:46 
GeneralMemory Leaks Pin
Grahamfff1-Apr-05 9:16
Grahamfff1-Apr-05 9:16 
GeneralRe: Memory Leaks Pin
Alexander M.,1-Apr-05 9:54
Alexander M.,1-Apr-05 9:54 
GeneralRe: Memory Leaks Pin
Maximilien1-Apr-05 9:55
Maximilien1-Apr-05 9:55 
GeneralRe: Memory Leaks Pin
David Crow1-Apr-05 9:56
David Crow1-Apr-05 9:56 
GeneralC++ Help Pin
BRIMID1-Apr-05 8:34
BRIMID1-Apr-05 8:34 
GeneralRe: C++ Help Pin
Alexander M.,1-Apr-05 9:56
Alexander M.,1-Apr-05 9:56 
GeneralRe: C++ Help Pin
NewbieStats1-Apr-05 10:51
NewbieStats1-Apr-05 10:51 
GeneralRe: C++ Help Pin
namaskaaram3-Apr-05 23:50
namaskaaram3-Apr-05 23:50 
GeneralRe: C++ Help Pin
FlyingTinman4-Apr-05 12:57
FlyingTinman4-Apr-05 12:57 
GeneralClass with CRect / CPoint Variable Pin
Anonymous1-Apr-05 5:13
Anonymous1-Apr-05 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.