| |||
Views: 88,498,536 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-29-24 12:55 AM |
|
Guest: Register | Login |
0 users currently in Computing | 2 guests |
Main - Computing - Drawing Offscreen in Windows GDI | New thread | Thread closed |
MathOnNapkins |
| ||
Super Koopa Level: 62 Posts: 31/842 EXP: 1935907 Next: 48779 Since: 02-19-07 From: durff Last post: 4491 days Last view: 4014 days |
Is there any way to force a window to draw itself, including all its controls like buttons and edit controls, while offscreen? Or is there anyway to simulate this while the window is invisible so I can copy what would normally appear into a DC?
I'm trying to do something like this: You've got a 500 x 500 window that is scrollable but contains nothing. You've also got a 1000x1000 window that is either invisible or offscreen, but it's the one that contains all your controls and other stuff. What's the point? I think if I could do this it could simplify scrolling mechanisms for windows with controls on them. But every single article I've dredged up on google leaves me with answers that don't work or don't apply. I even tried PrintWindow( ) and I couldn't even get that to import. Some bizarre problem with user32.lib not importing correctly. I'm using Visual Studio 7 and it seems to be a bit more restrictive than VS 6 >8(. ____________________ Zelda Hacking Forum hobbies: delectatio morosa |
Main - Computing - Drawing Offscreen in Windows GDI | New thread | Thread closed |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 37, rows: 46/47, time: 0.014 seconds. |