News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Loading JPEG as splash

Started by p0wder, July 27, 2006, 02:25:04 PM

Previous topic - Next topic

zooba

BitmapFromResource is actually from a 3rd party library, the Masm32 library.

I should've realised that from the first section of code. Looking back at your code, I'm wondering why you have different values in the BitmapFromResource command (800) and the resource file (1000); AFAIK these must be the same. Also, you seems to be trying to select the bitmap attached to the bitmap, which doesn't work. Just select the bitmap returned straight into a memory DC, then BitBlt it, much like the example you posted.

Cheers,

Zooba :U