[vtkusers] How to make VTK render window stay on top of MFC App

Darshan Pai darshanpai at gmail.com
Fri Mar 23 11:57:30 EDT 2012


I never used vtkmfcrenderview for mfc applications .rather i used to initialize a generic vtkrenderwindow and connected the handle of the Cview to the parentid of render window. This allowed me to encapsulate the cview anywhere, either in another view or a dialog. 


Sent from my iPad

On Mar 23, 2012, at 6:39 AM, Gishara Indeewarie <gish.777 at gmail.com> wrote:

> Hi all,
> 
> I am using vtkMFCRenderView class (available in the vtk examples) to create a vtk render window in a MFC application.
> My problem is that when I click another dialog of the app the vtk window goes away. (to the background)
> I want to make it appear on top of the application as a modal dialog.
> Please help me.
> Thanks.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list