Dec 20, 2006 #1 MarcoMB Programmer Oct 24, 2006 61 IT Can someone explain me how can i create or better assign a generic icon-image or bitmap to button controls?
Can someone explain me how can i create or better assign a generic icon-image or bitmap to button controls?
Dec 21, 2006 #2 mingis Programmer Jan 23, 2002 475 LT SendMessage(hYourButtonControl, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadIcon(hInstance, MAKEINTRESOURCE(YOUR_ICON_ID))); Upvote 0 Downvote
SendMessage(hYourButtonControl, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadIcon(hInstance, MAKEINTRESOURCE(YOUR_ICON_ID)));