mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#35318 10/07/03 07:28 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
is it possible to add icons to that bar between the main menubar and the channels bar, the one with the options, remotes,dcc stuff etc on it?

#35319 10/07/03 07:30 AM
P
pheonix
pheonix
P
yes,it is also possible to make your own toolbar using ktools.dll and mdx.dll

#35320 10/07/03 07:31 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
hmm how do i do it ?

#35321 10/07/03 07:32 AM
P
pheonix
pheonix
P
dll pathtoktools.dll DockToolbar $dialog(name).hwnd
dll pathtomdx.dll SetDialog name Style

p.s both should be on the init:*:{ section of your dialog.

Last edited by pheonix; 10/07/03 07:34 AM.
#35322 10/07/03 07:34 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
ok i put that in remotes ? yes?

#35323 10/07/03 07:35 AM
P
pheonix
pheonix
P
do you have mdx and ktools?

#35324 10/07/03 07:36 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
yes

Last edited by andymps; 10/07/03 07:38 AM.
#35325 10/07/03 07:43 AM
P
pheonix
pheonix
P

#35326 10/07/03 07:48 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
ok i got them, i read through the readme and im lost

#35327 10/07/03 07:50 AM
P
pheonix
pheonix
P
on dialog:name:init:0:{
dll pathtoktools DockToolbar $dialog($dname).hwnd
dll pathtomdx SetDialog $dname Style
<anything you want to add here>
}

#35328 10/07/03 07:57 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
ok i have done that, then what am i supposed to do?

#35329 10/07/03 08:03 AM
P
pheonix
pheonix
P
make your dialog and icons......

#35330 10/07/03 08:04 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
how, i dont know what to do, with the icon bit anyways

#35331 10/07/03 08:07 AM
P
pheonix
pheonix
P
use the icon feature in dialog studio.

#35332 10/07/03 08:22 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
ok i got this,
dialog Mp3_icon {
size -1 -1 104 62
title "Dialog"
icon 1,10 10 83 40,C:\Program Files\mIRC\button1.jpg, 0
}
on dialog:mp3_icon:init:0:{
dll c:\ktools\ktool.dll DockToolbar $dialog($dname).hwnd
dll c:\dialog_Scripts\mdx.dll SetDialog $dname Style
}
but now it just opens a dialog box with it in
also /dialog -what shall i use

#35333 10/07/03 08:25 AM
P
pheonix
pheonix
P
change:
on dialog:mp3_icon:init:0:{
to
on *:dialog:mp3_icon:init:0:{

use: /dialog -m mp3_icon mp3_icon

#35334 10/07/03 08:25 AM
V
vexx0r
vexx0r
V
That is the kind of person you tell /help dialogs. Just my opinion though.

#35335 10/07/03 08:26 AM
Joined: Dec 2002
Posts: 2,958
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Dec 2002
Posts: 2,958
Perhaps, but the help file does not support DLL's.

#35336 10/07/03 08:26 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
ok, now it has opened a dialog box in the toolbar

#35337 10/07/03 08:26 AM
P
pheonix
pheonix
P
technically it should be /help dll's because its not really the dialog hes having trouble with wink

Page 1 of 2 1 2

Link Copied to Clipboard