P
Paul Wardle
Don't know whether to post this to a DirectX newsgroup, but I'd post it here
I have written a C# MDI app utilising GDI+ to do the drawing. Performance is
terrible. (I have double buffering, but this causes other problems,
especially at high zoom levels - on large documents).
Is it possible to use DirectX9 to paint MDI child windows? I have seen some
samples, and they seem to use a busy loop to continually redraw a window,
calling Application.DoEvents after each iteration.
Why do they need to do this? Would it work to have multiple MDI childs and
update those in the loop? Why not just respond to paint events instead of
replacing the message loop?
Maybe I just don't get it....
Anyone have any ideas? Any advice? Anyone actually done this with any
success?
Thanks -
Paul Wardle
I have written a C# MDI app utilising GDI+ to do the drawing. Performance is
terrible. (I have double buffering, but this causes other problems,
especially at high zoom levels - on large documents).
Is it possible to use DirectX9 to paint MDI child windows? I have seen some
samples, and they seem to use a busy loop to continually redraw a window,
calling Application.DoEvents after each iteration.
Why do they need to do this? Would it work to have multiple MDI childs and
update those in the loop? Why not just respond to paint events instead of
replacing the message loop?
Maybe I just don't get it....
Anyone have any ideas? Any advice? Anyone actually done this with any
success?
Thanks -
Paul Wardle