06-09-2009, 09:55 AM
1. Parent does not receive messages that are received by the subclass function. To prevent default edit control processing of some keys, don't call CallWindowProcW for these keys. The function also relays the message to another control. If not needed, remove SendMessage.
2. Look in MSDN library, EM_GETSEL.
2. Look in MSDN library, EM_GETSEL.
