-
July 28th, 2001, 04:03 AM
#1
PreTranslateMessage problem
When I use the PreranslateMessage to trap the EM_SETSEL message of a CEdit control in a dialog it only seems to reveal some of the WM_ messages.
Why is this.
-
July 28th, 2001, 04:18 AM
#2
Re: PreTranslateMessage problem
Try adding virtual function OnCommand(wparam,lparam) to your dialog class, and there capture
EM_SETSEL. The high-order word of wParam specifies the notification message if the message is from a control.
good luck
-
July 28th, 2001, 04:22 AM
#3
Re: PreTranslateMessage problem
Thank you for your advice.
I try this right now.
-
July 28th, 2001, 05:42 AM
#4
Re: PreTranslateMessage problem
I have implemented he OnCommand in my code but I can still not trap the EM_SETSET notification.
I can trap EN_CHANGE.
Why is this.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|