Click here to Skip to main content
15,915,848 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How To E-Mail Using VC++ 6 (?) Pin
Devashish Bhattacharjee5-Jan-03 7:23
Devashish Bhattacharjee5-Jan-03 7:23 
AnswerRe: How To E-Mail Using VC++ 6 (?) Pin
PJ Arends1-Jan-03 20:10
professionalPJ Arends1-Jan-03 20:10 
GeneralRe: How To E-Mail Using VC++ 6 (?) Pin
Devashish Bhattacharjee5-Jan-03 7:21
Devashish Bhattacharjee5-Jan-03 7:21 
AnswerRe: How To E-Mail Using VC++ 6 (?) Pin
Devashish Bhattacharjee5-Jan-03 7:31
Devashish Bhattacharjee5-Jan-03 7:31 
GeneralGSM programming Pin
stevenson1-Jan-03 14:52
stevenson1-Jan-03 14:52 
GeneralRe: GSM programming Pin
Mike Nordell1-Jan-03 18:35
Mike Nordell1-Jan-03 18:35 
GeneralRe: GSM programming Pin
ashxly1-Jan-03 21:05
ashxly1-Jan-03 21:05 
Question'Beep' when calling "TrackPopupMenu"?? Pin
JennyP1-Jan-03 14:41
JennyP1-Jan-03 14:41 
Hello,

I respond to a LVN_KEYDOWN event (List View in column mode) and if the user presses enter, I call another function with the following code. When this occurs, there is the audible beep. I don't want the beep. When I call this same code from the OnRButtonDown() (user presses right mouse button) there is no audible beep. I didn't find any documentation in CMenu that would help me determine why there is a beep. My assumption is that the "enter" key is still in some buffer, and the TrackPopupMenu thought it was an invalid selection?? Any thoughts on how to get rid of the beep?


menu.CreatePopupMenu();
int levels = GetDocument()->m_nPriorityLevels-1;
for (i=levels;i>=0; i--) {
menu.AppendMenu(0, IDC_PRI_0+i, GetDocument()->m_sPriority[i]);
}
menu.TrackPopupMenu(TPM_RIGHTBUTTON, pt.x, pt.y, this);

thanks!


JennyP
AnswerRe: 'Beep' when calling "TrackPopupMenu"?? Pin
Neville Franks1-Jan-03 14:52
Neville Franks1-Jan-03 14:52 
GeneralRe: 'Beep' when calling "TrackPopupMenu"?? Pin
JennyP2-Jan-03 5:07
JennyP2-Jan-03 5:07 
GeneralRe: 'Beep' when calling "TrackPopupMenu"?? Pin
Neville Franks2-Jan-03 14:33
Neville Franks2-Jan-03 14:33 
QuestionBug in CHTMLEditView?? Pin
trimtrom1-Jan-03 13:49
trimtrom1-Jan-03 13:49 
AnswerRe: Bug in CHTMLEditView?? Pin
Stephane Rodriguez.1-Jan-03 19:08
Stephane Rodriguez.1-Jan-03 19:08 
GeneralRe: Bug in CHTMLEditView?? Pin
trimtrom2-Jan-03 4:37
trimtrom2-Jan-03 4:37 
GeneralWorking with .ppm files Pin
n27414151-Jan-03 13:08
n27414151-Jan-03 13:08 
GeneralRe: Working with .ppm files Pin
Mike Nordell1-Jan-03 18:38
Mike Nordell1-Jan-03 18:38 
GeneralRe: Working with .ppm files Pin
Anonymous2-Jan-03 15:10
Anonymous2-Jan-03 15:10 
GeneralRe: Working with .ppm files Pin
n27414152-Jan-03 15:10
n27414152-Jan-03 15:10 
QuestionHow to size and move a view when it is created Pin
rbc1-Jan-03 11:28
rbc1-Jan-03 11:28 
AnswerRe: How to size and move a view when it is created Pin
Michael Dunn1-Jan-03 12:05
sitebuilderMichael Dunn1-Jan-03 12:05 
Generalsplitters, views, switching Pin
Roman Nurik1-Jan-03 9:59
Roman Nurik1-Jan-03 9:59 
GeneralFile list ! Pin
Hadi Rezaee1-Jan-03 8:54
Hadi Rezaee1-Jan-03 8:54 
GeneralRe: File list ! Pin
Pavel Klocek1-Jan-03 9:03
Pavel Klocek1-Jan-03 9:03 
GeneralRe: File list ! Pin
Hadi Rezaee1-Jan-03 9:29
Hadi Rezaee1-Jan-03 9:29 
GeneralMemory Considerations Pin
Anonymous1-Jan-03 7:58
Anonymous1-Jan-03 7:58 

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.