Hello everybody again,

_______________________________________________________________

First, sorry for the last Post (.. Looking for an EVENT (MFC) ? ...) If there is any answer on that last message, just forget this new one. I was afraid that nobody looks at the other message because i have answered to it to give more explanation... and i can't delete it to replace it with this one.

_______________________________________________________________


My problem is :

I'm using a CEdit control and i'd like to do something when the user has
pressed on the keyboard.

But i'm looking for the events 'something ..KEYDOWN' and it doesn't appear
in the 'Event Handler' of the CEdit control, but i know that the 'CEdit' class is derived from
the 'CWnd' class , right ? and i've seen a fonction that can be implemented with the KeyDown Event
in CWnd class :

afx_msg void OnKeyDown( UINT nChar, UINT nRepCnt, UINT nFlags );

So, my question is :


-> How to get the Events of the parent Class (here CWnd) in the 'Event Handler' of the Inherited class (Here the CEdit control) ?

(or get the Events somewhere else perhaps )



....Please, i understand if you don't have the time to answer, perhaps it would take to much time to explain the technic, but I have Searched in the MSDN, and i have found nothing ... So i appreciate also if you just take the time to write to me in wich chapter i have to go ...


Thank's to anyone.

Driss