Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog: Bitmap or Icon on Button
#17
how to use GetWindowIcon instead of bmp/file in DT_TbAddButtons ?

code snippet (rep)
Code:
Copy      Help
,,,,labels.formata("%s[]" exe.title(15))
,,,,int icon=GetWindowIcon(exe.m_hwnd)
,,,,icons.formata("%i[]" icon)
,,,,count1+1
,,,,DestroyIcon(icon)

Code:
Copy      Help
,DT_TbAddButtons htb 1001 labels icons WINAPI.TBSTYLE_LIST 2 ;;flag2 for GetWindowIcon


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)