mIRC Homepage
Posted By: ATMA ktools.dll - 03/09/03 12:02 AM
hmm ok im getting really pissed at ktools.dll all i want it to do is dock to a statusbar on the bottom but for some reason it does nothing..... i cant figur this out or sometimes the dialog docks over the entire window and locks me out of mirc i cant figur this out can any one help me?

Code:
dialog google {
  title "Google Search script"
  size -1 -1 1000 18
  option dbu
  text "Google Search:", 1, 1 4 50 11
  edit %google.lastserach, 2, 40 2 100 11
  button "Search", 3, 140 2 50 11, ok
}
on :dialog:google:init:*: {
  dll dlls/ktools.dll CreateSb
  dll dlls/ktools.dll DockWindow $dialog(google).hwnd > bottom
}
alias google { dialog -m google google }


any help at all would be extreamly helpful.....
Posted By: pheonix Re: ktools.dll - 03/09/03 12:04 AM
hmm well it depends what mirc version your using, ktools.dll WILL NOT work on mirc 6.1(unless a newer version of ktools has been released)
Posted By: ATMA Re: ktools.dll - 03/09/03 12:19 AM
hmmmmm ic but im running the newest vr..... maybe its beacuse i changed the source code a little bit?
Posted By: ClickHeRe Re: ktools.dll - 03/09/03 12:27 AM
In my opinion every (or most) Toolbar DLLs are broken because Khaled changed the Toolbar Control ID from 200 To 0. So every DLL must be recompiled to fit this new ID in order to work.
Posted By: ATMA Re: ktools.dll - 03/09/03 12:30 AM
.......????????? how could this be done??? you lost me there lol
Posted By: _D3m0n_ Re: ktools.dll - 03/09/03 12:32 AM
ok bottom line ..... ktools WAS NOT made for the newest version of mirc... therefor your gettin veri pissed needlessly ... the problem is u didnt read the destructions(LOL) if u want that dll to work u can do only one thing ... revert back to 6.03 or simply dont use it until there is a new release of ktools.dll from creationcorner.
Posted By: ClickHeRe Re: ktools.dll - 03/09/03 12:33 AM
what I'm saying is that ktools needs to be modified to work with the new mIRC. Until then, it won't work properly.
Posted By: ATMA Re: ktools.dll - 03/09/03 12:36 AM
hmm ok ic now well haxzoring i go!
Posted By: pheonix Re: ktools.dll - 03/09/03 12:41 AM
please stop frown, your eliteness makes me look like a n00b frown
Posted By: ATMA Re: ktools.dll - 03/09/03 12:53 AM
ummmm hmmmm well since i cant hax the dll i will see what i can mod with in mirc to do that -.-
Posted By: ATMA Re: ktools.dll - 03/09/03 01:05 AM
oi nm dialog 0 is hidden -_- i cant get at it so i will just have to wait for the new dll ='[ :: sniffles :: i wanted to have some fun moding mirc -_-
Posted By: pheonix Re: ktools.dll - 03/09/03 01:06 AM
i was being sarcastic you idiot.
Posted By: ATMA Re: ktools.dll - 03/09/03 01:55 AM
i knew that im just saying now i have to wait tell the new ktools.dll comes out beacuse it was compailed diffrently
Posted By: KingTomato Re: ktools.dll - 03/09/03 04:07 PM
Hey click, how possible is it, being that 6.1 takes on the "new" toolbar style with the dragable objects, to make a dll to add toolbar objects? I know like in program like word u have 5+ menus u can drag around and position wherever u want, and I would think you can do the same in mirc? It atleast appears that way with the positioning handle visible.
Posted By: ClickHeRe Re: ktools.dll - 04/09/03 08:23 PM
Well, when I first saw rhe new mIRC with grip bars on the toolbar and switchbar, I said to myself "Wow mIRC changed it's interface to include the bars in a control that is called a Rebar/Coolbar" (IE's Menubar + Toolbar is a Rebar Control). But after looking at the API code, I saw that the grips are only there as decoration imitating a Rebar band Grip (rebar objects can be switched arround like a MS Word kind of toolbar). If mIRC were to have that type of control (which I already tried to intergrate in a DLL and finally gave up because it's so hard to subclasse an already made program when you don't know how it manages it's interface controls and objects), It would of been a charm to add any number of draggable toolbars, and everything you want in that sort of control. The Rebar Bands act as container controls that can host any other window controls, even Dialogs and @windows.
© mIRC Discussion Forums