Re: [ROOT] **** TGWin32PixmapObject::W32_CopyTo is not implemented

From: Valeri Fine (fine@bnl.gov)
Date: Mon Jan 21 2002 - 02:55:16 MET


----- Original Message -----
From: Franz Scherz
To: roottalk@pcroot.cern.ch
Sent: Sunday, January 20, 2002 10:53 AM
Subject: [ROOT] **** TGWin32PixmapObject::W32_CopyTo is not implemented


> Hi All!

> If I place some objects, for example TButton, TSlider, on a canvas and
compile the program (MSVC) I get the
> following messages displayed when I move the mouse above some areas of the
canvas (not even the objects themself).

> **** TGWin32PixmapObject::W32_CopyTo is not implemented

> If I have only text panes and histograms/Graphs I don't have the same.

> I also don't see the problem in Root CINT if I run the same code
interpreted.

> Has anybody a hint?

You should have seen no problem if you created your custom class DLL and
loaded
it into the ROOT session via gSystem->Load("YouDllName").

The RootCint interpreter has some mechanism to synchronize Window threads.
When you create your own ROOT-based interactive application you lose this
mechanism
and should keep in mind your code and Windows GUI are working in the
different threads
and concurrently.  I hope a new version of ROOT for Windows we were promised
will be soon
has taken all these things in account.

At presetn what happens. When the mouse walks across the screen  ROOT is
forced
to calculate the TObject::DistancetoPrimitive virtual methods of ALL objects
from all
TPad objects your cursor occasionally crosses. Of cource if this would be
just
an option that one can turn on/off by demand then ROOT applcaition  might
have
been more robust.

However as you described your application you should get no big problem.
Very likely your real application is a little bit more complicated that you
described above.

  Hope this helps, Valeri



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:39 MET