Hi Carsten,

thank you for your promptly response.

I did found the problem with the frozen windows. It was not a problem
with
the OpenSG framework but with my usage of the windows timer
functionality.

I did implement a tick timer for each window redrawing my scene after
some
period of time. Navigation did not redraw by itself but implicitely with
help of
the timer messages. Before starting of a draw operation I killed the
timer
and reinitialized it after finishing the render action. However, when
the elapsed
time is very short some of the timers don't get fired anymore => stalled
window.
After repairing this my program runs fine.

> is there a corresponding _win->activate() call in code you did not
show here ?
Yes, it is implicitely called by the _win->render(_action) call.

>> HDC hdc = ::GetDC(_hWnd); 
> this might clash with WIN32Window::init as it also calls GetDC and the

> MS docs say this: ...
> I'm not sure what that means for calling GetDC multiple times from the

> same thread though...
You are correct. This is a mistake in my code and I have just corrected
it.

After that I could not reproduce the error indicated by the gliIntercept
tool.

I have to carefully rethink about my repainting strategy.

Thanks,

Johannes



____________
Virus checked by G DATA AntiVirusKit
Version: AVK 18.3781 from 14.05.2008
Virus news: www.antiviruslab.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to