: : Asmguru62:
: : I tried using the information you provided, but can't get it work.
: :
: : here's what I did: I created a PUSHBUTTON control in the Dialog.
: : In the Properties Dialog I set this Push Button to
: : "Icon".
: : Then in my program I have the following lines:
: : Am I missing something ?
: :
:
lParam is the handle of the loaded image.SendDlgItemMessageA(hDlg,BUTTON_ID,0xF7,1,LoadImageA(hinstance,ICON_ID,1,16,16,0));
:
:
johnny13: Thank you, It worked.
TKU.
doc.