On Tue, 25 Feb 2003 01:49, David Fraser wrote: <snip>
Seems to make sense except that I still have one question: the MSDN docs seem to indicate that you need to call GDIFlush() before performing any drawing operations to the bitmap yourself (at least for Windows NT). Would it be possible to keep a list of DIBSections and flush them all in GDIFlush, or is this not adequate?
I'm not familiar with GDIFlush(), but I just had a quick glance at the msdn docu for it, and it appears this is only relevent when using GDI in batch mode, (eg, do a bunch of GDI calls and then go 'render this') - and even then it still isn't required. Even if this function did what you wanted, it still wouldn't be possible to use properly because of speed issues (eg, we only coerce when we have to), and so on. (the same could be said for doing a coerce after each GDI call).
David