Re: Drawing offscreen
From: Tim (Tim_at_discussions.microsoft.com)
Date: 10/28/04
- Next message: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Previous message: ne_one_at_hotmail.com: "GDI+ v1.1 EMF to EMF+ Conversion"
- In reply to: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Next in thread: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Reply: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 27 Oct 2004 18:01:04 -0700
> Use CreateDIBSection, and select the resultant hbitmap in to a DC created
> with CreateCompatibleDC(screendc)
I *think* I might have messed with this before, but couldn't get it to work
unless the screen matched the pixel depth of the DIB. That's the part that
always confused me... what does the screen have to do with anything?!. Or,
maybe I had something else wrong.
Anyway, it turns out that the "drawing" I really wanted to do was to render
a QuickTime movie, and the QuickTime "QTNewGWorld" does exactly what I need,
without messing with GDI. I had been thrown off track by some QuickTime
calls that let you create a "GWorld" (which the movie needs for destination)
from a Windows drawing context.
- Next message: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Previous message: ne_one_at_hotmail.com: "GDI+ v1.1 EMF to EMF+ Conversion"
- In reply to: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Next in thread: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Reply: Louis Solomon [SteelBytes]: "Re: Drawing offscreen"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|