Click here to Skip to main content
15,888,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Disabling cut,copy,paste,rename and delete operation Pin
David Crow21-May-13 4:38
David Crow21-May-13 4:38 
Questionmulti platform applications Pin
vr99999999920-May-13 21:23
vr99999999920-May-13 21:23 
AnswerRe: multi platform applications Pin
Richard MacCutchan20-May-13 22:51
mveRichard MacCutchan20-May-13 22:51 
AnswerRe: multi platform applications Pin
Maximilien21-May-13 4:23
Maximilien21-May-13 4:23 
GeneralRe: multi platform applications Pin
vr99999999921-May-13 23:58
vr99999999921-May-13 23:58 
QuestionHandle enter key in Edit control MFC Pin
Member 1003641420-May-13 21:18
Member 1003641420-May-13 21:18 
AnswerRe: Handle enter key in Edit control MFC Pin
Richard MacCutchan20-May-13 22:48
mveRichard MacCutchan20-May-13 22:48 
AnswerRe: Handle enter key in Edit control MFC Pin
Jochen Arndt21-May-13 2:18
professionalJochen Arndt21-May-13 2:18 
Your description indicates that your edit control will only contain a single line of text but uses the multi line style to allow entering long lines without scrolling parts out of view.

If this is true, create the control without the ES_WANTRETURN style. Then pressing ENTER behaves like with other controls of a dialog: The keypress is passed to the default push button of the dialog. The handler for the default button can then get the text from the edit control and execute the command.
AnswerRe: Handle enter key in Edit control MFC Pin
thanh_bkhn21-May-13 16:52
professionalthanh_bkhn21-May-13 16:52 
Questionhow to hook WM_CLOSE message on all process Pin
Member 1006652320-May-13 20:34
Member 1006652320-May-13 20:34 
AnswerRe: how to hook WM_CLOSE message on all process Pin
Richard MacCutchan20-May-13 22:39
mveRichard MacCutchan20-May-13 22:39 
GeneralRe: how to hook WM_CLOSE message on all process Pin
Member 1006652321-May-13 0:29
Member 1006652321-May-13 0:29 
GeneralRe: how to hook WM_CLOSE message on all process Pin
Jochen Arndt21-May-13 2:23
professionalJochen Arndt21-May-13 2:23 
GeneralRe: how to hook WM_CLOSE message on all process Pin
Richard MacCutchan21-May-13 2:49
mveRichard MacCutchan21-May-13 2:49 
AnswerRe: how to hook WM_CLOSE message on all process Pin
Erudite_Eric23-May-13 1:14
Erudite_Eric23-May-13 1:14 
QuestionWrite Text on child window - SDI application Pin
tagopi20-May-13 19:43
tagopi20-May-13 19:43 
AnswerRe: Write Text on child window - SDI application Pin
Richard MacCutchan20-May-13 22:38
mveRichard MacCutchan20-May-13 22:38 
QuestionVC++ Crashing? Pin
macklinbob20-May-13 9:55
macklinbob20-May-13 9:55 
AnswerRe: VC++ Crashing? Pin
dusty_dex20-May-13 12:00
dusty_dex20-May-13 12:00 
GeneralRe: VC++ Crashing? Pin
macklinbob20-May-13 15:21
macklinbob20-May-13 15:21 
SuggestionRe: VC++ Crashing? Pin
«_Superman_»20-May-13 16:02
professional«_Superman_»20-May-13 16:02 
GeneralRe: VC++ Crashing? Pin
macklinbob20-May-13 19:27
macklinbob20-May-13 19:27 
GeneralRe: VC++ Crashing? Pin
«_Superman_»20-May-13 19:36
professional«_Superman_»20-May-13 19:36 
GeneralRe: VC++ Crashing? Pin
dusty_dex20-May-13 21:29
dusty_dex20-May-13 21:29 
GeneralRe: VC++ Crashing? Pin
David Crow21-May-13 5:19
David Crow21-May-13 5:19 

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.