mIRC Home    About    Download    Register    News    Help

Print Thread
#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???

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.

Joined: Jul 2003
Posts: 77
B
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
Joined: Jul 2003
Posts: 40
H
Ameglian cow
Offline
Ameglian cow
H
Joined: Jul 2003
Posts: 40
EnumChildWindows(), GetNextWindow(), GetPrevWindow(), FindWindowEx(),.. what's the problem ?

Joined: Jul 2003
Posts: 77
B
Babel fish
Offline
Babel fish
B
Joined: Jul 2003
Posts: 77
nothing really he just doesnt like it lol


hmmm signed by me

Link Copied to Clipboard