Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enlarge Button Icon
#1
I'm trying to enlarge the icon picture that I have displayed on a button in my dialog. I've tried adding the "1" as seen below to enlarge to 32x32 but when I do this, the button doesn't display the icon image at all. When I take the 1 out it displays, but is really small. What am I doing wrong?
Quote: __Hicon-- t_hi1=GetFileIcon("$desktop$\Icon.ico" 1)
SendMessage id(20 hDlg) BM_SETIMAGE IMAGE_ICON t_hi1

Thanks!
#2
__Hicon-- t_hi1=GetFileIcon("$desktop$\Icon.ico" 0 1)
#3
Perfect!!

Thank you! Big Grin


Forum Jump:


Users browsing this thread: 1 Guest(s)