Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get icons from an imagelist to populate "icons" in ListDialog
#1
Dear Gintaras,

Using the advice suggested in thread http://www.quickmacros.com/forum/showthr...p?tid=5940

namely,

__ImageList- ilx
__Stream x
str fil="$my qm$\imagelists\Extensions.txt"
int fl=0x00000002 ;;STGM_READ
if(!FileExists(fil))
    _s=F"File does not exist : <c 172>{fil}</c>   - Caller : <open>{caller}</open> "
    min 0; err out "<>%s : <open ''%s /%i''>%s</open> - %s" NowT si _error.place si _s
    mac "Warning_QM" si 0
    end
x.CreateOnFile(fil fl)
ilx=ImageList_Read(x)

I built and used successfully ilx. My next problem is to select certain icons in this imagelist in order to populate "icon" in ListDialog. Your advice is once more inevitable and much appreciated. Many thanks in advance.
#2
Macro Macro9
Code:
Copy      Help
__ImageList ilx.Load("$qm$\il_qm.bmp")

ListDialog("2 one[]3 two" "" "" 4 0 0 0 0 0 ilx)
#3
Thank you !!!


Forum Jump:


Users browsing this thread: 1 Guest(s)