Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphic Button

Status
Not open for further replies.

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?
 
SendMessage(hYourButtonControl, BM_SETIMAGE, IMAGE_ICON, (LPARAM)LoadIcon(hInstance, MAKEINTRESOURCE(YOUR_ICON_ID)));
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top