Click here to Skip to main content
15,892,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is makegetstatuscmd() command function? Pin
_Flaviu30-Aug-21 21:32
_Flaviu30-Aug-21 21:32 
GeneralRe: What is makegetstatuscmd() command function? Pin
Md Mubdiul Hasan 30-Aug-21 22:47
Md Mubdiul Hasan 30-Aug-21 22:47 
GeneralRe: What is makegetstatuscmd() command function? Pin
jeron131-Aug-21 4:33
jeron131-Aug-21 4:33 
GeneralRe: What is makegetstatuscmd() command function? Pin
Md Mubdiul Hasan 31-Aug-21 13:48
Md Mubdiul Hasan 31-Aug-21 13:48 
GeneralRe: What is makegetstatuscmd() command function? Pin
jeron11-Sep-21 4:03
jeron11-Sep-21 4:03 
GeneralRe: What is makegetstatuscmd() command function? Pin
Md Mubdiul Hasan 1-Sep-21 16:39
Md Mubdiul Hasan 1-Sep-21 16:39 
QuestionRequirements of display filtering in power electronics data Pin
Md Mubdiul Hasan 19-Aug-21 19:42
Md Mubdiul Hasan 19-Aug-21 19:42 
AnswerRe: Requirements of display filtering in power electronics data Pin
Richard MacCutchan19-Aug-21 21:33
mveRichard MacCutchan19-Aug-21 21:33 
AnswerRe: Requirements of display filtering in power electronics data Pin
11917640 Member 22-Aug-21 4:33
11917640 Member 22-Aug-21 4:33 
GeneralRe: Requirements of display filtering in power electronics data Pin
Md Mubdiul Hasan 22-Aug-21 15:12
Md Mubdiul Hasan 22-Aug-21 15:12 
QuestionImplementing a mathematical PI control for a reasonable "if" structure Pin
Md Mubdiul Hasan 18-Aug-21 18:37
Md Mubdiul Hasan 18-Aug-21 18:37 
AnswerRe: Implementing a mathematical PI control for a reasonable "if" structure Pin
markkuk18-Aug-21 20:18
markkuk18-Aug-21 20:18 
GeneralRe: Implementing a mathematical PI control for a reasonable "if" structure Pin
Md Mubdiul Hasan 18-Aug-21 20:46
Md Mubdiul Hasan 18-Aug-21 20:46 
AnswerRe: Implementing a mathematical PI control for a reasonable "if" structure Pin
Richard MacCutchan18-Aug-21 22:19
mveRichard MacCutchan18-Aug-21 22:19 
QuestionHandling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
ForNow30-Jul-21 4:07
ForNow30-Jul-21 4:07 
AnswerRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
Graham Breach30-Jul-21 4:40
Graham Breach30-Jul-21 4:40 
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
ForNow30-Jul-21 5:59
ForNow30-Jul-21 5:59 
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
Graham Breach30-Jul-21 6:29
Graham Breach30-Jul-21 6:29 
Here's the Windows docs page: TranslateAcceleratorA function (winuser.h) - Win32 apps | Microsoft Docs[^]

The function returns nonzero when it successfully translates the accelerator, which is when you should not pass the message through to the default handler. Your code is bypassing the default handler entirely when your h_accel and debug variables are set (without checking if the message was a translated keycode).
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
ForNow30-Jul-21 7:23
ForNow30-Jul-21 7:23 
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
Graham Breach30-Jul-21 8:17
Graham Breach30-Jul-21 8:17 
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
ForNow30-Jul-21 8:28
ForNow30-Jul-21 8:28 
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
Graham Breach30-Jul-21 8:49
Graham Breach30-Jul-21 8:49 
AnswerRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
Richard MacCutchan30-Jul-21 4:56
mveRichard MacCutchan30-Jul-21 4:56 
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
ForNow30-Jul-21 5:11
ForNow30-Jul-21 5:11 
GeneralRe: Handling KeyBoard messages/accelerators handling in MFC dialog based applications Pin
Richard MacCutchan30-Jul-21 5:28
mveRichard MacCutchan30-Jul-21 5:28 

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.