Link to home
Start Free TrialLog in
Avatar of Shay050799
Shay050799

asked on

transparent Backgrous Image

I m using win32 (NOT MFC) and i have a 24bit color image (BMP) in my resource file.
i m trying to create its background transparent to put on a Dialog box (i do not want to see the backgoud).

i tried to change the BML in photoshop, but VC IDE doesn't allow me to load a 24bit image (only 256).

i have a code in MFC that creates transparent background, but when i tried to create the equivalent win32, it does something wrong...

all i need is a code to put in WM_PAINT to make it transparent..

thanks
Shay
Avatar of hide_in
hide_in

No, you are wrong.
you can load a bitmap of 24bit using the API - LoadBitmap()
or LoadImage(). It's true that the VC IDE can't display a
bitmap of 24bit, image, but you can use 24bit bitmap.
Avatar of Shay050799

ASKER

hide_in you didn't answer my question...i need the code to put in WM_PAIN to display this image !!!

Shay
ok, I'm sorry for my answer.
please give me your mail address, then I send a sample code to you ?
the project is developed by VC++ 6.0.




ASKER CERTIFIED SOLUTION
Avatar of manojbkumar
manojbkumar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial