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

C / C++ / MFC

 
AnswerRe: Clonal Selection Classification Pin
Richard MacCutchan30-May-12 11:35
mveRichard MacCutchan30-May-12 11:35 
GeneralRe: Clonal Selection Classification Pin
enhzflep30-May-12 12:20
enhzflep30-May-12 12:20 
AnswerRe: Clonal Selection Classification Pin
Aescleal30-May-12 21:45
Aescleal30-May-12 21:45 
QuestionWin32 Forms properties/variables Pin
Brandon-X1200030-May-12 1:51
Brandon-X1200030-May-12 1:51 
AnswerRe: Win32 Forms properties/variables Pin
enhzflep30-May-12 2:00
enhzflep30-May-12 2:00 
GeneralRe: Win32 Forms properties/variables Pin
Brandon-X1200030-May-12 3:02
Brandon-X1200030-May-12 3:02 
GeneralRe: Win32 Forms properties/variables Pin
enhzflep30-May-12 3:09
enhzflep30-May-12 3:09 
AnswerRe: Win32 Forms properties/variables Pin
Richard MacCutchan30-May-12 2:03
mveRichard MacCutchan30-May-12 2:03 
GeneralRe: Win32 Forms properties/variables Pin
Aescleal30-May-12 7:14
Aescleal30-May-12 7:14 
GeneralRe: Win32 Forms properties/variables Pin
Richard MacCutchan30-May-12 7:19
mveRichard MacCutchan30-May-12 7:19 
GeneralRe: Win32 Forms properties/variables Pin
Aescleal30-May-12 8:51
Aescleal30-May-12 8:51 
GeneralRe: Win32 Forms properties/variables Pin
Richard MacCutchan30-May-12 11:59
mveRichard MacCutchan30-May-12 11:59 
AnswerRe: Win32 Forms properties/variables Pin
jkirkerx30-May-12 10:55
professionaljkirkerx30-May-12 10:55 
GeneralRe: Win32 Forms properties/variables Pin
Brandon-X1200030-May-12 13:50
Brandon-X1200030-May-12 13:50 
GeneralRe: Win32 Forms properties/variables Pin
Richard MacCutchan30-May-12 22:00
mveRichard MacCutchan30-May-12 22:00 
GeneralRe: Win32 Forms properties/variables Pin
jkirkerx31-May-12 6:52
professionaljkirkerx31-May-12 6:52 
GeneralRe: Win32 Forms properties/variables Pin
Richard MacCutchan31-May-12 7:12
mveRichard MacCutchan31-May-12 7:12 
GeneralRe: Win32 Forms properties/variables Pin
jkirkerx31-May-12 12:36
professionaljkirkerx31-May-12 12:36 
GeneralRe: Win32 Forms properties/variables Pin
Richard MacCutchan31-May-12 21:17
mveRichard MacCutchan31-May-12 21:17 
QuestionCombobox in win32 Pin
Rajeev.Goutham29-May-12 17:37
Rajeev.Goutham29-May-12 17:37 
AnswerRe: Combobox in win32 Pin
enhzflep29-May-12 20:01
enhzflep29-May-12 20:01 
AnswerRe: Combobox in win32 Pin
«_Superman_»29-May-12 20:06
professional«_Superman_»29-May-12 20:06 
QuestionGetting access Violation Using CDialog::Pretranslate while stepping thru code using Visual Studio Debugger Pin
ForNow29-May-12 13:56
ForNow29-May-12 13:56 
AnswerRe: Getting access Violation Using CDialog::Pretranslate while stepping thru code using Visual Studio Debugger Pin
Richard Andrew x6429-May-12 15:38
professionalRichard Andrew x6429-May-12 15:38 
GeneralRe: Getting access Violation Using CDialog::Pretranslate while stepping thru code using Visual Studio Debugger Pin
ForNow29-May-12 16:11
ForNow29-May-12 16:11 
Hi,

it doesn't happen when I comment out the code

Here is the code to the override for PreTtanslateMessage

<pre lang='cpp'> BOOL CprogDebug::PreTranslateMessage(MSG* pMsg)
{
CHERC_CMDApp *main_app;
MyBaseEvent* myeventptr;
if(pMsg->message==WM_KEYDOWN)
{
if(pMsg->wParam==VK_RETURN) // enter key
{
main_app = (CHERC_CMDApp *)AfxGetApp(); // get main app
myeventptr = main_app->mybaseeventptr; // get event class
strcpy(myeventptr->buffer_ptr," "); // single step
myeventptr->send_window = this; // return to this window
myeventptr->SetEvent(); // signal event
}
}
return CDialog::PreTranslateMessage(pMsg);
} </pre>

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.