[vtkusers] displaying the objects in the windows crated by MFC
LJ van Ruijven, ACTA
L.J.vanRuijven at amc.uva.nl
Wed Aug 13 02:57:29 EDT 2003
Hello Kiran,
CDC is a painting device, and not a window. In MFC a CWnd and decandents have
a variable (this->m_hWnd) which you can use. But be aware that this variable
becomes meaningful only after the window has been created.
Leo
> Date: Tue, 12 Aug 2003 13:34:34 -0500
> From: kshivann <kshivann at engineering.uiowa.edu>
> To: vtkusers at vtk.org
> Subject: [vtkusers] displaying the objects in the windows crated by MFC
>
> hi,
> i am trying to display objects in windows created by MFC. the function
> SetParentID takes in handle to window (HWND) in win32 programming. We
> have equivalent device context CDC in MFC. when i pass the variable of
> type CDC i am getting an error that no object displayed.
>
> what is the appropriate variable that i should pass in
>
> thanks
>
> kiran shivanna
>
More information about the vtkusers
mailing list