Click here to Skip to main content
15,914,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to draw rectangle in win98 Pin
Anonymous13-Jun-03 3:19
Anonymous13-Jun-03 3:19 
QuestionMicrosoft Rich Text Control 6.0 Reference? Pin
Yasen Georgiew13-Jun-03 2:44
Yasen Georgiew13-Jun-03 2:44 
AnswerRe: Microsoft Rich Text Control 6.0 Reference? Pin
Anonymous13-Jun-03 3:13
Anonymous13-Jun-03 3:13 
GeneralRe: Microsoft Rich Text Control 6.0 Reference? Pin
Yasen Georgiew13-Jun-03 3:18
Yasen Georgiew13-Jun-03 3:18 
QuestionCString or LPCTSTR...which one's better? Pin
FASTian13-Jun-03 2:01
FASTian13-Jun-03 2:01 
AnswerRe: CString or LPCTSTR...which one's better? Pin
rrrado13-Jun-03 2:07
rrrado13-Jun-03 2:07 
AnswerRe: CString or LPCTSTR...which one's better? Pin
TeeBee30313-Jun-03 2:10
TeeBee30313-Jun-03 2:10 
GeneralCEdit and the Return key Pin
CodeBrain13-Jun-03 1:42
CodeBrain13-Jun-03 1:42 
I have a single line edit control and a class derived from CEdit. Now I want that the CFormView class which contains the edit control gets informed if the user presses the Return key if the Edit control has the input focus.
I've tried to react on the NM_RETURN notification in my form view but I don't get the event in the form view (must I use reflection in my edit class?).
Then I tried to capture the VK_RETURN key in the OnChar method of my edit class, but the OnChar method seems not to get any VK_RETURN events.

So what would be the best way to get my form view informed if the user presses the return key in my edit control?

Thanks in advance.
GeneralRe: CEdit and the Return key Pin
rrrado13-Jun-03 1:58
rrrado13-Jun-03 1:58 
GeneralRe: CEdit and the Return key Pin
CodeBrain13-Jun-03 2:23
CodeBrain13-Jun-03 2:23 
GeneralRe: CEdit and the Return key Pin
Johann Gerell13-Jun-03 2:17
Johann Gerell13-Jun-03 2:17 
GeneralRe: CEdit and the Return key Pin
Roger Allen13-Jun-03 2:17
Roger Allen13-Jun-03 2:17 
GeneralRe: CEdit and the Return key Pin
CodeBrain13-Jun-03 3:47
CodeBrain13-Jun-03 3:47 
GeneralRe: CEdit and the Return key Pin
Ryan Binns13-Jun-03 4:05
Ryan Binns13-Jun-03 4:05 
GeneralRe: CEdit and the Return key Pin
CodeBrain13-Jun-03 4:44
CodeBrain13-Jun-03 4:44 
QuestionHow do you prevent a window from being minimized? Pin
Abin13-Jun-03 1:21
Abin13-Jun-03 1:21 
AnswerRe: How do you prevent a window from being minimized? Pin
rrrado13-Jun-03 1:41
rrrado13-Jun-03 1:41 
GeneralRe: How do you prevent a window from being minimized? Pin
Abin13-Jun-03 1:44
Abin13-Jun-03 1:44 
QuestionHow to find active control ? Pin
rrrado13-Jun-03 0:31
rrrado13-Jun-03 0:31 
AnswerRe: How to find active control ? Pin
User 665813-Jun-03 1:20
User 665813-Jun-03 1:20 
GeneralRe: How to find active control ? Pin
rrrado13-Jun-03 1:39
rrrado13-Jun-03 1:39 
GeneralGetting Call Stack info Pin
Ceri13-Jun-03 0:09
Ceri13-Jun-03 0:09 
GeneralRe: Getting Call Stack info Pin
Neville Franks13-Jun-03 0:20
Neville Franks13-Jun-03 0:20 
GeneralRe: Getting Call Stack info Pin
Ceri13-Jun-03 0:53
Ceri13-Jun-03 0:53 
GeneralRe: Getting Call Stack info Pin
Neville Franks13-Jun-03 1:26
Neville Franks13-Jun-03 1:26 

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.