mIRC Home    About    Download    Register    News    Help

Print Thread
#34110 04/07/03 05:22 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
if anyones familiar with ktools.dll then please help grin

on *:Dialog:switch:init:0:{
dll " $+ $mircdir $+ ktools.dll $+ " DockWindow $dialog($dname).hwnd > left
var %i 1
while (%i <= $comchan($me,0)) {
did -a switch 4 $comchan($me,%i)
inc %i
}
/list
}
on *:Dialog:switch2:init:0:{
dll " $+ $mircdir $+ ktools.dll $+ " DockWindow $dialog($dname).hwnd > right
did -a $dname 2 $server
}
the 1st switchbar docks ok, but the 2nd 1 doesnt(the 1 i open 1st is fine then the second wont attach) any help greatly appreciated smile


new username: tidy_trax
#34111 04/07/03 06:48 PM
Joined: Dec 2002
Posts: 29
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Dec 2002
Posts: 29
With ktool.dll function DockWindow you are able to dock only one dialog,that`s why second switchbar will not dock in your case.But you can dock your custom dialog to mirc original switchbar with ktools function DockSwitchbar,also you can dock custom dialog to mirc toolbar with function DockToolbar.

#34112 04/07/03 06:49 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
thanx grin i only knew of 1 command, DockWindow


new username: tidy_trax
#34113 04/07/03 07:20 PM
Joined: Dec 2002
Posts: 29
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Dec 2002
Posts: 29
If you want to you can check original web site for ktools.dll and download it copy witch comes with help file and all functions that has ktools

#34114 04/07/03 07:22 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
thanx grin


new username: tidy_trax

Link Copied to Clipboard