mIRC Home    About    Download    Register    News    Help

Print Thread
#25256 20/05/03 09:28 PM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
ok this bit of code is bugging me can someone help me with this i cant figure out how to get the icons to appear and stuff its annoying
=/
Code:
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
}



Need amazing web design for low price: http://www.matrixn3t.net
#25257 21/05/03 03:15 AM
Joined: Mar 2003
Posts: 437
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
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

#25258 21/05/03 10:08 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
hmmm it didnt change it in any way =/ it still looks the same im trying to get the icons to apear on the toolbar and its really starting to piss me off


Need amazing web design for low price: http://www.matrixn3t.net
#25259 21/05/03 12:07 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Just bars.mdx? I think you forgot the path ($scriptdirdll/bars.mdx).


Link Copied to Clipboard