Hi all,

I have a CDialog derived class that contains a number of Edit controls. Dialog is modal.
I want to capture the WM_CUT, WM_CLEAR, WM_PASTE Messages to anyone of the edit controls and apply a common routine before these messages are dispatched to their owners.
I was puzzled a lot with the ON_NOTIFY_RANGE etc. but without any success.

I use already the PresTranslateMessage function to capture keyborad events, but this does not work for the CUT,PASTE,CLEAR messages.

Is there any easy way to do this? A sample code would be very usefull.