[vtkusers] Improving interaction with a vtkMFCWindow
Clinton Stimpson
clinton at elemtech.com
Thu Mar 9 13:05:28 EST 2006
de Boer Ingo wrote:
>Hi,
>
>yes, you are right. The samples from the 5.0 release don't do
>double clicks in the MDI/SDI app.
>
>
The double click event goes to the interactor style, just as it would if
one wasn't using MFC.
That and how events work in MFC is why the parent window doesn't get
that event. You most likely have a CView as the parent window and are
trying to get the double click at the CView level.
>Well I guess there have been some modifications since I added my
>samples.
>Please try these. Maybe you have more luck with these.
>
>http://public.kitware.com/Bug/bug.php?op=show&bugid=649
>
>Clint: Could you take a look at it ? Also, when I exit the
>SDI/MDI/Dialog App I get debug leaks. I cannot get the CVS, so this
>might be already fixed ?
>
>
I don't get debug leaks in the SDI/MDI sample apps. I do get one in the
Dialog app, and I think that's due to some inconsistencies in how events
works in different types of MFC apps, and vtkMFCWindow attempts to be
generic and work for all types of MFC apps. At least that's how it
looks. There may be a way to fix that, but I haven't found a way.
Clint
More information about the vtkusers
mailing list