The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Lobotomy on September 04, 2006, 09:29:16 PM

Title: Run-time icon: Lost in CreateIconIndirect
Post by: Lobotomy on September 04, 2006, 09:29:16 PM
Hello scary binary people,

I'm trying to create a memory bitmap and convert it to icon format. While I understand what needs to be done (CreateCompatibleDC, CreateCompatibleBitmap for XOR and AND parts, draw on both, combine and CreateIconIndirect), I'm totally lost in realization -- there are just too many ways to make an error for a no new guy.

Does anyone have a sample or at least a scetch to learn?

Thank you for your time