CEdit Parent/Owner Notifications doesn't get Processed?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have a Cedit subclass which is constructed like this.. CDockBar child is CStatic and CStatic child is CSubEdit.. Now I CeEdit::SetOwner(CDockBar) so that CDockBar would receive the notifications from CEdit. Particularly i want to process NM_RETURN notifications when I press the ENTER key.. Now I already processed the WM_KEYDOWN from the subclassed c0ntrol.. and i can process the enter key from WM_KEYDOWN already.. but i still want the parent/owner to be notified of the ENTER keypress..(NM_ENTER) notification I traced the Enter key press on the Cedit Control, in Spy++, the only messages generated are WM_KEYDOWN, WM_KEYUP, and WM_CHAR.. Why does NM_RETURN goesn't get generated?