mIRC Homepage
Posted By: EmiZ Switchbar DLL issue (C++) - 13/03/05 01:33 AM
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???
Posted By: Soul_Eater Re: Switchbar DLL issue (C++) - 24/03/05 06:13 AM
the switchbar is a custom design, so no.
Posted By: bamaboy1217 Re: Switchbar DLL issue (C++) - 24/03/05 04:26 PM
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
Posted By: HadS Re: Switchbar DLL issue (C++) - 25/03/05 06:11 PM
EnumChildWindows(), GetNextWindow(), GetPrevWindow(), FindWindowEx(),.. what's the problem ?
Posted By: bamaboy1217 Re: Switchbar DLL issue (C++) - 25/03/05 08:03 PM
nothing really he just doesnt like it lol
© mIRC Discussion Forums