Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Phillip Bernard
|
Mar 4, 2008 - 3:17 AM
|
Hi, i trying to create RTF inplace editor I create MyRTFEditor derived from CRichEditCtrl with context menu and MyRTFCell derived from CExtGridCell Than i override MyRTFCell::OnInplaceControlCreate(...) { retrun CreateRTFEditor(); } It’s working normally. If I make right mouse click on activated MyRTFEditor my context menu show but focus sets to GridWnd and I lost focus on my MyRTFEditor. I try to override MyRTFCell::OnInplaceControlWindowProc() and MyRTFCell::OnInplaceControlPreTranslateMessage() but they never call. What I do wrong ?
|
|
Offer Har
|
Mar 10, 2008 - 7:05 AM
|
Hello there Phillip,
I am facing a similar problem - can you explain what was your solution?
Thanks, Ron.
|
|
Phillip Bernard
|
Mar 4, 2008 - 6:59 AM
|
Sorry, problem solved I show context menu on OnRButtonDown() and event WM_RBUTTONUP received from Menu break inplace control loop in GbwBeginEditCell
|
|