Quote from: Brian on December 06, 2024, 05:31:13 AMbasicgames,
Here's a little example I dashed off this morning before going out for a Christmas lunch this afternoon. I've even included a text file showing all the BitBlt constants and meanings. Hope this helps you somewhat
Just put the IWB program and bitmap image in the same folder, and compile
Brian
Quote from: Egil on December 06, 2024, 03:51:22 AMNever used BitBlt myself, but the best place to find information on how to use the various APIs can be found at Microsoft,
and here is a link to their explanation of BitBlt: https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-bitblt .
A slightly different approach can be found here: https://vbden.tripod.com/articles/invmask.htm
Good luck!
Egil