mIRC Home    About    Download    Register    News    Help

Print Thread
#78451 08/04/04 05:17 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Hi, I've been reading a Toolbar Tutorial, And am already lost.
Download it here: http://www.mircscripts.org/download.php?id=2058&type=1
But Yeah, The Icons "teal0" and "teal1" show up. But They open it's own window. I want them to take the place of the 1st two icons on the mIRC toolbar, Anyone know?
dialog example {
title "Example"
size -1 -1 1000 18
option dbu
list 1, 1 2 1000 14, size
}
on *:dialog:example:init:0:{
dll mdx.dll SetMircVersion $version
dll mdx.dll MarkDialog $dname
dll mdx.dll SetControlMDX $dname 1 ToolBar list arrows flat wrap nodivider > bars.mdx
dll mdx.dll SetDialog $dname style
dll mdx.dll SetBorderStyle 1
did -i $dname 1 1 bmpsize 16 16
did -i $dname 1 1 setimage icon small teal0.ico
did -i $dname 1 1 setimage icon small teal1.ico
did -a $dname 1 +a 1 Hello $chr(9) Tooltip!
did -a $dname 1 +a 2 Goodbye $chr(9) Tooltip!
dll ktools.dll DockToolbar $dialog($dname).hwnd
}
on *:dialog:example:sclick:1:{
var %click $did($dname,1).sel
if (%click == 2) {
;command here
}
elseif (%click == 3) {
;Command
}
}


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#78452 08/04/04 05:32 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
OP Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
Oh wait, Correct me if I'm wrong, But that starts a brand new "top part of mIRC" meaning the file, View, ect. As well as the icons, and the TitleBar. I just want it to be able to make my own toolbar, Wouldn't All I have to do is just reduce the size? But still I dont know how to align it where the default mIRC Toolbar is at. --Still need some help-- ;_;


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -

Link Copied to Clipboard