Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi,
In visual studio 2003, how to change colour of a bitmap image when I click on it. I have two different coloured bitmap images. I am displaying one of them at startup.
Posted
Updated 19-Sep-11 2:46am
v5
Comments
Malli_S 19-Sep-11 8:46am    
Which control you are using to display the image?
mbue 19-Sep-11 9:10am    
Swap the displayed image?

1 solution

yah i got it,by using STN_CLICKED in WM_COMMAND.before using it create a window for bitmap image in main window and then when ever click goes on that window(bitmap image) control goes to STN_CLICKED,there need to load image.
i used flag,so that every time i click on image it change color.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900