Click here to Skip to main content
15,887,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with CDC:SetMapMode (in Release-Mode) Pin
AnTri31-Aug-06 21:43
AnTri31-Aug-06 21:43 
GeneralRe: Problem with CDC:SetMapMode (in Release-Mode) Pin
Stephen Hewitt31-Aug-06 21:45
Stephen Hewitt31-Aug-06 21:45 
GeneralRe: Problem with CDC:SetMapMode (in Release-Mode) Pin
AnTri31-Aug-06 23:03
AnTri31-Aug-06 23:03 
GeneralRe: Problem with CDC:SetMapMode (in Release-Mode) Pin
AnTri31-Aug-06 21:24
AnTri31-Aug-06 21:24 
AnswerRe: Problem with CDC:SetMapMode (in Release-Mode) Pin
Stephen Hewitt31-Aug-06 20:02
Stephen Hewitt31-Aug-06 20:02 
GeneralRe: Problem with CDC:SetMapMode (in Release-Mode) Pin
AnTri31-Aug-06 22:20
AnTri31-Aug-06 22:20 
GeneralRe: Problem with CDC:SetMapMode (in Release-Mode) Pin
Stephen Hewitt31-Aug-06 23:07
Stephen Hewitt31-Aug-06 23:07 
QuestionProblem with a button in an SDI application Pin
Eikthrynir31-Aug-06 9:44
Eikthrynir31-Aug-06 9:44 
Hi!
I have a problem with a button I have created dynamically in an SDI application in MFC.
Its purpose is to terminate the application (an Exit button). It works perfectly when I click on it, but what I want to do is make it close my application when I press the Enter key. It just doesn't work, even though the button has focus. It works when I have a dialog based application, but I'm not interested in that. I want it to be an SDI application. A solution I have found is to close the application by calling PostQuitMessage method when I press the Enter key and my button has focus, but I'm interested in a more simple and elegant way if possible.

Any ideas would be greatly apreciated!
Thanks in advance!
AnswerRe: Problem with a button in an SDI application [modified] Pin
prasad_som31-Aug-06 20:50
prasad_som31-Aug-06 20:50 
QuestionSetNamedSecurityInfo 2 Pin
RomTibi31-Aug-06 9:29
RomTibi31-Aug-06 9:29 
QuestionPreventing others to access my process via interprocess communication Pin
Marco225031-Aug-06 9:07
Marco225031-Aug-06 9:07 
AnswerRe: Preventing others to access my process via interprocess communication Pin
Jun Du31-Aug-06 9:42
Jun Du31-Aug-06 9:42 
GeneralDllMain and its usage (Followup to a post by Jeremy Falcon) Pin
PJ Arends31-Aug-06 8:46
professionalPJ Arends31-Aug-06 8:46 
GeneralRe: DllMain and its usage (Followup to a post by Jeremy Falcon) Pin
Zac Howland31-Aug-06 9:03
Zac Howland31-Aug-06 9:03 
GeneralRe: DllMain and its usage (Followup to a post by Jeremy Falcon) Pin
PJ Arends31-Aug-06 9:19
professionalPJ Arends31-Aug-06 9:19 
GeneralRe: DllMain and its usage (Followup to a post by Jeremy Falcon) Pin
PJ Arends31-Aug-06 9:33
professionalPJ Arends31-Aug-06 9:33 
GeneralRe: DllMain and its usage (Followup to a post by Jeremy Falcon) Pin
Michael Dunn31-Aug-06 18:42
sitebuilderMichael Dunn31-Aug-06 18:42 
GeneralRe: DllMain and its usage (Followup to a post by Jeremy Falcon) Pin
PJ Arends31-Aug-06 21:14
professionalPJ Arends31-Aug-06 21:14 
QuestionHeap corruption?! Pin
Nader Elshehabi31-Aug-06 7:55
Nader Elshehabi31-Aug-06 7:55 
AnswerRe: Heap corruption?! Pin
Zac Howland31-Aug-06 8:15
Zac Howland31-Aug-06 8:15 
QuestionRe: Heap corruption?! Pin
Nader Elshehabi31-Aug-06 9:01
Nader Elshehabi31-Aug-06 9:01 
AnswerRe: Heap corruption?! Pin
Zac Howland31-Aug-06 9:08
Zac Howland31-Aug-06 9:08 
GeneralRe: Heap corruption?! Pin
Nader Elshehabi31-Aug-06 9:49
Nader Elshehabi31-Aug-06 9:49 
GeneralRe: Heap corruption?! Pin
David Crow31-Aug-06 10:09
David Crow31-Aug-06 10:09 
GeneralRe: Heap corruption?! Pin
Nader Elshehabi31-Aug-06 12:21
Nader Elshehabi31-Aug-06 12:21 

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.