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?
yes,it is also possible to make your own toolbar using ktools.dll and mdx.dll
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.
ok i put that in remotes ? yes?
do you have mdx and ktools?
ok i got them, i read through the readme and im lost
on dialog:name:init:0:{
dll pathtoktools DockToolbar $dialog($dname).hwnd
dll pathtomdx SetDialog $dname Style
<anything you want to add here>
}
ok i have done that, then what am i supposed to do?
make your dialog and icons......
how, i dont know what to do, with the icon bit anyways
use the icon feature in dialog studio.
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
change:
on dialog:mp3_icon:init:0:{
to
on *:dialog:mp3_icon:init:0:{
use: /dialog -m mp3_icon mp3_icon
That is the kind of person you tell /help dialogs. Just my opinion though.
Perhaps, but the help file does not support DLL's.
ok, now it has opened a dialog box in the toolbar
technically it should be /help dll's because its not really the dialog hes having trouble with
but it has opened a box, and i want just the icon
well you cant, i dont think, unless you want to remake mircs toolbar in a dialog and add your 1 icon to the end.
Yea but if you would have read in the beginning when he said what do i do? and you told him to put the stuff in his dialog and he said what do i do?
o i see what ya mean now
alternately you could make your own dll
if u wanna show me how
im suprised i can do mirc scripting i suck at most stuff, i once tried an html website, trust me u dont wanna see what that turned out like, imagine a dll
find a dll tutorial i cannot write dll's yet but im learning c++, and im looking at necromans tutorial on dll's, now i just have to find a compiler
nahh i think i know someone who has done an icon i prolly find out off him
Maybe you should stick to using a previously made mirc script it would probably be better for you and the poor guy that is trying to help you, i am a couple days into this scripting thing and i understood what pheonix has told you to do... and for html easiest internet scripting language (if you can even call it that) i guess ... well i don't know i suggest you read the intro to mirc and then practice for a couple days or weeks or maybe motnhs until you have a grasping on what it is you want.
other than the use of dll's the only way i can think of adding an icon to the toolbar is by hacking the exe and dont even think about asking for help on that
o, ok, i know someone who can do that to, j/k
or there may be another posibilty,if you can get the opening position of the dialog to land exactly where u want the icon and make the dialog really small,it might mix in and just look like a "dialogless" icon
Edit: thats just a suggestion, im not too sure but the dll might automatically resize the dialog so it fits with the toolbar :tongue: .
wont let it go small enough
it goes small enough for me :tongue:
size -1 -1 88 16
that is small enough to fit, but you have to play with -1 -1 to change the position of where it opens
i c, i will give it a try
If you want some help using mdx/popups/ktools dll's. PM me, I'd be happy to help.
Greetz
To let your URL format correctly you need to make sure there's no space where the = sign is. And also the site is not there.