Hi there,
when using windowed mode, my code can no longer redraw the content of the window when dragging it. This is because Display.update() blocks while the user is moving the window. Is there a way around this?
Regards,
Simon
I think it's quite "normal" - because its like you code with DirectX.
Afaik it's "normal" for windows - but linux(I dont know anything about mac :/) can handle it better.
I recently found this very useful post:
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.ui/2006-02/msg00194.html
Isn't that a viable solution without resorting to threads?
(Yay, zombie-thread is alive...)
BTW: Here are up to date links from the MSDN
http://msdn.microsoft.com/en-us/library/ms644959(VS.85).aspx About Hooks
http://msdn.microsoft.com/en-us/library/ms644992(VS.85).aspx SysMsgProc Function
http://msdn.microsoft.com/en-us/library/ms644987(VS.85).aspx MessageProc Function
I once implemented this on a local build and it had some issues. I seem to recall it being caused by the need for a secondary - non display.update method to be called during the modal loop processing that actually does the rendering. There was no fix for this easily...