Adding Icons/Bitmap images to Button

Hello cplusplus community. My name is Chris and i have a small problem.
I have recently made a GUI program that has 180 Buttons that write specific things in a .txt file & deletes the last character in that .txt file.
Code : http://pastebin.com/BjLx0j11
To be honest i don't really know much of C++ language, i have made this program by simply copy-pasting some structures over the internet and it worked :).
Now i want to change the buttons into actual images, i have searched on many sites including this one and the codes found just didn't worked for me.
My question is : How do i make a button to look like an image?
Hope you guys can help me :(.
//Btw i will change the buttons's names and actions.
It's not so difficult.

1. Add BS_BITMAP to your Button style

2. Add a bitmap to your resource file and load it or load it from disk.

3. Send the button BM_SETIMAGE message
Topic archived. No new replies allowed.