Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get and Set style of button (BS_ICON)
#5
or can get the icon this way then don't need to remember to destroy icon

Code:
Copy      Help
,case WM_INITDIALOG
,__Hicon- t_hi=GetFileIcon("$qm$\mouse.ico")
,SendMessage(id(4 hDlg) BM_SETIMAGE IMAGE_ICON t_hi)
memory leak if icons are not destroyed


Messages In This Thread
Get and Set style of button (BS_ICON) - by r0n - 08-29-2018, 06:59 AM
RE: Get and Set style of button (BS_ICON) - by Kevin - 08-29-2018, 05:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)