[vtkusers] MFC MDI Examples

derong derong at lycos.co.uk
Fri Aug 6 14:15:44 EDT 2004


Thank u very much!
I have tried the new codes against VTK4.21 and VC++6.0.
vtkMDI and vtkSDI will be crash after I exit the appllication.
I guess it uses SetParentId and SetWindowId instead of just using
SetParentId in the old version.
Maybe VTK4.4 has fixed it. I feel some confusion with SetWindowId and
SetParentId. Sholud we use them both or just use SetParentId?
What's difference between them?

The other issue is about vtkDLg. The vtkRenderWindow can't get keyboard
input anyway. 
(such as I try to press "W" to change to wireframe, it doesn't work). I
guess it can't get focus by mouse picking hint.
Can we find a simple way to add focus hint by mouse? (changing interact
style is a big deal)
For mouse double click issue, I think it just uses CEdit as the control to
hold vtkRenderWindow. Can CEdit get double click event?
Maybe we can define our custom control from scratch to hold vtkRenderWindow
and enable double click in the windows style.

Thanks

Dennis


-----Original Message-----
From: de Boer Ingo [mailto:I.deBoer at polytec.de] 
Sent: Thursday, August 05, 2004 11:30 PM
To: derong; vtkusers at vtk.org
Subject: RE: [vtkusers] MFC MDI Examples


Hi,

I submitted some new samples to the bug list. But it is not in the CVS.

http://www.vtk.org/Bug/bug.php?op=show&bugid=649&pos=0

greets
  Ingo

---
Dr.-Ing. Ingo H. de Boer

Polytec GmbH
Polytec-Platz 1-7, 76337 Waldbronn, Germany
phone: ++49 7243 604 106
fax  : ++49 7243 604 255





More information about the vtkusers mailing list