Re: Stellar Project

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
gwalters said...

This code opens a blank window but If I understand how creatDIB works I should get an object in the window. Any help would be appreciated.

You don't need a DIB (bitmap), just create a Pixmap the same size as your window then draw on the Pixmap, and on your window's Paint event, bitblt the pixmap onto your window. This is a very fast way of updating an animated display.

Thanks, having never done any graphics, I need a little more help. How do you draw to a Pixmap? I understand the rest of what you said.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu