mIRC Home    About    Download    Register    News    Help

Print Thread
Switchbar DLL issue (C++) #114201 13/03/05 01:33 AM
Joined: Mar 2005
Posts: 3
E
EmiZ Offline OP
Self-satisified door
OP Offline
Self-satisified door
E
Joined: Mar 2005
Posts: 3
Hello, I just want to know if there is some way to access mIRC's window list (as shown in the switchbar) from C++.
I've already do something similar (with Enum and monitoring the MDI window messages when opening and closing windows), but it's very inefficient...
There's some way???

Re: Switchbar DLL issue (C++) #114202 24/03/05 06:13 AM
Joined: Mar 2003
Posts: 187
S
Soul_Eater Offline
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2003
Posts: 187
the switchbar is a custom design, so no.

Re: Switchbar DLL issue (C++) #114203 24/03/05 04:26 PM
Joined: Jul 2003
Posts: 77
B
bamaboy1217 Offline
Babel fish
Offline
Babel fish
B
Joined: Jul 2003
Posts: 77
khaled doesnt have a way to get the window list unless u were to send a $window(0) and $window(1) etc to mIRC via the mapped file

The only real way you could windows being opened would not be via the switch bar since it uses custom messages etc but my guess would be to monitor the mdi windows like you said other than that your kinda outa luck unless you put in your script like a

on *:open:@:dll mydll.dll WINDOWOPEN $target
on *:close:@:dll mydll.dll WINDOWCLOSE $target

*note i think its $target
that would be the only efficent way to monitor @windows opening and closeing smile


hmmm signed by me
Re: Switchbar DLL issue (C++) #114204 25/03/05 06:11 PM
Joined: Jul 2003
Posts: 40
H
HadS Offline
Ameglian cow
Offline
Ameglian cow
H
Joined: Jul 2003
Posts: 40
EnumChildWindows(), GetNextWindow(), GetPrevWindow(), FindWindowEx(),.. what's the problem ?

Re: Switchbar DLL issue (C++) #114205 25/03/05 08:03 PM
Joined: Jul 2003
Posts: 77
B
bamaboy1217 Offline
Babel fish
Offline
Babel fish
B
Joined: Jul 2003
Posts: 77
nothing really he just doesnt like it lol


hmmm signed by me