[vtkusers] Problem in SampleMFC test?

Jean-Dominique Barnichon jeando.barnichon at free.fr
Tue Jul 29 04:25:32 EDT 2003

Hi again,

I've built a small MDI app (I can provide it, let me just know) based on
OpenGL without vtk.
With it, I can open as many child windows (in full screen) as I want,
without having any problem. So the problem with the vtk MDI app does not
seems related to OpenGL, is this right?
Any comment/idea on that?


-----Message d'origine-----
De : Jean-Dominique Barnichon [mailto:jeando.barnichon at free.fr]
Envoyé : mardi 29 juillet 2003 09:31
À : David.Pont at ForestResearch.co.nz; nNunn at ausport.gov.au
Cc : vtkusers
Objet : RE: [vtkusers] Problem in SampleMFC test?

Hi David and Nigel,

If it comes from my hardware, I will almost be happy.
One point is that there is a single actor in the sample, which does not
require a lot of memory.
The strange thing is that I obtain the same odd behaviour when I run it in
How memory/hardware could explain that? Sound a bit strange, no?


-----Message d'origine-----
De : David.Pont at ForestResearch.co.nz
[mailto:David.Pont at ForestResearch.co.nz]
Envoyé : lundi 28 juillet 2003 23:31
À : Jean-Dominique Barnichon
Cc : vtkusers
Objet : Re: [vtkusers] Problem in SampleMFC test?

Hi Jean-Do
   I experienced something similar some years ago. I never really resolved
it, and the problem went away when I got a new computer.
My guess is that the problem is at a lower level, ie graphics hardware, (or
perhaps OpenGL).

A quick look in the archives turned up this:

So someone else has had this problem too. I could not see any solution
given, you could look harder in the archives for an answer there.

-Try turning off hardware accelerations in Windows (right click desktop,
select Properties | Settings tab | Advanced button | Troubleshooting tab
(and other tabs)......  probably different under W98...)
-Can you try your application on a machine with more (graphics) memory?
-Don't run fullscreen...

    bon chance
         Dave Pont

                    Barnichon"             To:     "vtkusers"
<vtkusers at vtk.org>
                    <jeando.barnicho       cc:
                    n at free.fr>             Subject:     [vtkusers] Problem
in SampleMFC test?
                    Sent by:
                    vtkusers-admin at v

                    29/07/2003 04:52


I've compiled the vtk4.0 MFC sample test (located in
Examples\GUI\Win32\SampleMFC) with VC++6.0 (sp5) under Win98.
When running the exe in fullscreen mode 1024*768*32 (the main frame and the
child frames), there is a  bug which can be easily seen by set background
white in vtkMFCRenderView constructor :

Then, you just run the exe and you open several child windows.
You (at least I do) should get a black area at the right and bottom part of
the window that increases in size as more and more child windows are

It sounds like a problem between Win32 and vtk?
Does anybody obtain the same behaviour and/or has a clue where it could


This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <
Follow this link to subscribe/unsubscribe:

More information about the vtkusers mailing list