can some one write for me a function that draw a simple
bmp in transparent draw
and it will get these parameteres
FuncName(x,y,Heigh,Weight,HBITMAP,Transparent Color, .... all the others that you will need ...);
can some one write for me a function that draw a simple
bmp in transparent draw
and it will get these parameteres
FuncName(x,y,Heigh,Weight,HBITMAP,Transparent Color, .... all the others that you will need ...);
I dug a little in an old program, and this is what I found. Maybe you can make something out of it. This should be called when a WM_PAINT message is sent.
Code:PAINTSTRUCT Ps; HDC hDc; hDc=BeginPaint(hWnd, &Ps); DrawState(hDc, NULL, NULL, (LPARAM)hBitmap, 0, X, Y, Width, Height, DST_BITMAP | DSS_NORMAL); EndPaint(hWnd, &Ps);
Last edited by Magos; 05-14-2002 at 03:32 PM.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
hmmm
can you explain more about this
the parametres and all the stuff
??
How about stop being lazy and look it up yourself?
>>How about stop being lazy and look it up yourself?
I wish there was a button in this Javascript editor thingy (the one that has preset tags and stuff) that lets you insert this sentence automaticaly...