title: How to display image on button
body: <p>I created a button and I want to display an image on it. After some research I found the following code:</p>
  <pre><code>HBITMAP buttonImage;
  buttonImage = (HBITMAP)LoadImageW(NULL,L&quot;Button.bmp&quot;,IMAGE_BITMAP,95,35,LR_LOADFROMFILE);
  HWND playBTN = CreateWindow(TEXT(&quot;button&quot;),NULL,WS_VISIBLE | WS_CHILD | BS_BITMAP,330, 400, 95, 35, hwnd, (HMENU)1, NULL, NULL);
  SendMessageW(playBTN,BM_SETIMAGE,IMAGE_BITMAP,(LPARAM) buttonImage);
  </code></pre>
  <p>The code runs succesfuly but there isnt any change at the button</p>
  <p>I also tried using <code>LR_DEFAULTCOLOR</code>,<code>LR_VGACOLOR</code>and <code>LR_LOADMAP3DCOLORS</code> but nothing changed.</p>
  <p>Note: The image I want to display is a box with green color</p>