|
|
|
|
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 |
|
Offer Har
|
Mar 26, 2007 - 8:57 PM
|
Dear Support,
I have tried to add a context menu to a tree grid, tried to use the same code from the FAQ: "How to correctly show a context menu in a CExtGridWnd" It did not work. The application crashed.
Can you please explain how to add a context menu to a tree grid, and maybe point me to a sample where this is implemented.
Thanks, Ron.
|
|
Offer Har
|
Mar 27, 2007 - 9:33 AM
|
Dear Support,
I really think that it does not support tree control. Now it doesn’t crash, but I cannot expand or collapse any items in the tree, it seems that it is eating this event before the tree control gets a change to expand or collapse.
Can you please send me a link to a place where this works, or a link to a sample that uses this feature?
Regards, Ron.
|
|
Technical Support
|
Mar 27, 2007 - 8:04 AM
|
The context menu handlers for CExtTreeGridWnd should work in the same way as for CExtGridWnd . Would you send us the call stack or a test project that demonstrates the problem?
|
|
Offer Har
|
Mar 27, 2007 - 9:37 AM
|
OK... This problem is solved, I need to change the base-class call of OnGbwAnalyzeCellMouseClickEvent to CExtTreeGridWnd. Now it works... Thanks Ron.
|
|