mIRC Home    About    Download    Register    News    Help

Print Thread
#114201 13/03/05 01:33 AM
E
EmiZ
EmiZ
E
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???

Joined: Mar 2003
Posts: 187
S
Vogon poet
Offline
Vogon poet
S
Joined: Mar 2003
Posts: 187
the switchbar is a custom design, so no.

B
bamaboy1217
bamaboy1217
B
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

H
HadS
HadS
H
EnumChildWindows(), GetNextWindow(), GetPrevWindow(), FindWindowEx(),.. what's the problem ?

B
bamaboy1217
bamaboy1217
B
nothing really he just doesnt like it lol


Link Copied to Clipboard