dialog example {
title "Example"
size -1 -1 1000 18
option dbu
list 1, 1 2 1000 14, size
}
on *:dialog:example:init:0:{
dll $scriptdir $+ dll/mdx.dll SetMircVersion $version
dll $scriptdir $+ dll/mdx.dll MarkDialog $dname
dll $scriptdir $+ dll/mdx.dll SetControlMDX $dname 1 ToolBar list arrows flat wrap nodivider > bars.mdx
dll $scriptdir $+ dll/mdx.dll SetDialog $dname style
dll $scriptdir $+ dll/mdx.dll SetBorderStyle 1
did -i $dname 1 1 bmpsize 16 16
did -i $dname 1 1 setimage icon small $scriptdir $+ icons/icon1.ico
did -i $dname 1 1 setimage icon small $scriptdir $+ icons/icon2.ico
did -a $dname 1 +a 1 Hello $chr(9) Tooltip!
did -a $dname 1 +a 2 Goodbye $chr(9) Tooltip!
dll $scriptdir $+ dll/ktools.dll DockToolbar $dialog($dname).hwnd
}

im not sure what your asking but that is the section to edit...
you could also use
did -i $dname 1 1 setimage icon small $scriptdiricons/icon1.ico
did -i $dname 1 1 setimage icon small $scriptdiricons/icon2.ico

might not make a difference, but maybe
did -i $dname 1 1 setimage icon small $scriptdiricons\icon1.ico
did -i $dname 1 1 setimage icon small $scriptdiricons\icon2.ico

maybe its wrong? im tired...its late...cant think straight