i try to show a 256 bmp in my window
when i load the file ,read it into memory,
but i don't know how to show it
iczelion's tutorial just told how to show a bmp in the resource

thanks in advance
Posted on 2002-09-27 08:56:02 by clfsoft
Take a look at the masm32 examples, there is one in the sub-folder example2 called showdib that does exactly what you want.

Mirno
Posted on 2002-09-27 09:01:24 by Mirno
Or:

LoadImage with the Flag LR_LOADFROMDISK (not supported on NT iirc)

Or:

Ernie's ImageLib (search the board for "ImageLib" )
Posted on 2002-09-27 09:14:31 by JimmyClif
Ewayne got an example on his website.

http://asmedit.massmind.org

under the program Splash
Posted on 2002-09-27 09:19:41 by roticv
thanks again

but do i have to initialize a logic palette structure for 256 bitmap?
Posted on 2002-09-27 20:24:40 by clfsoft