mIRC Home    About    Download    Register    News    Help

Print Thread
#34110 04/07/03 05:22 PM
P
pheonix
pheonix
P
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

#34111 04/07/03 06:48 PM
R
RAIN
RAIN
R
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
P
pheonix
pheonix
P
thanx grin i only knew of 1 command, DockWindow

#34113 04/07/03 07:20 PM
R
RAIN
RAIN
R
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
P
pheonix
pheonix
P
thanx grin


Link Copied to Clipboard