mIRC Home    About    Download    Register    News    Help

Print Thread
#46659 03/09/03 12:02 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
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.....

#46660 03/09/03 12:04 AM
P
pheonix
pheonix
P
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)

#46661 03/09/03 12:19 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
hmmmmm ic but im running the newest vr..... maybe its beacuse i changed the source code a little bit?

#46662 03/09/03 12:27 AM
Joined: Jan 2003
Posts: 247
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 247
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.

#46663 03/09/03 12:30 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
.......????????? how could this be done??? you lost me there lol

#46664 03/09/03 12:32 AM
Joined: Dec 2002
Posts: 1,518
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,518
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.

#46665 03/09/03 12:33 AM
Joined: Jan 2003
Posts: 247
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 247
what I'm saying is that ktools needs to be modified to work with the new mIRC. Until then, it won't work properly.

#46666 03/09/03 12:36 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
hmm ok ic now well haxzoring i go!

#46667 03/09/03 12:41 AM
P
pheonix
pheonix
P
please stop frown, your eliteness makes me look like a n00b frown

#46668 03/09/03 12:53 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
ummmm hmmmm well since i cant hax the dll i will see what i can mod with in mirc to do that -.-

#46669 03/09/03 01:05 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
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 -_-

#46670 03/09/03 01:06 AM
P
pheonix
pheonix
P
i was being sarcastic you idiot.

#46671 03/09/03 01:55 AM
Joined: Dec 2002
Posts: 397
A
ATMA Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
i knew that im just saying now i have to wait tell the new ktools.dll comes out beacuse it was compailed diffrently

#46672 03/09/03 04:07 PM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
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.

#46673 04/09/03 08:23 PM
Joined: Jan 2003
Posts: 247
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 247
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.


Link Copied to Clipboard