[vtkusers] Window Flickers.
Andrew J. P. Maclean
a.maclean at cas.edu.au
Sun Jun 22 19:59:14 EDT 2003
In the message handler for the WM_ERASEBKGND message, just return TRUE
instead of calling the message handler of the class your view is
inheriting from.
See the MFC example code in the examples directory of vtk.
Andrew
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.cas.edu.au/
___________________________________________
-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On Behalf
Of Amit Tikekar
Sent: Friday, 20 June 2003 15:05
To: vtkusers at www.vtk.org
Subject: [vtkusers] Window Flickers.
Sensitivity: Private
Hi,
I have an image processing application. I read the image data & then
pass it
to vtkImageViewer. This image is displayed in a child window through
MFC.
When I resize(stretch or shrink via mouse) the window the whole view
area
flickers. I checked whether the double buffering mode is ON & by default
it
is. I tried the same process on other imaging applications & there the
flicker is absent.
What am I missing ? Or is this all VTK can offer me ?
Looking forward to your help.
Regards
Amit
More information about the vtkusers
mailing list