Basically I want to keep a list of windows with related CID and network name information. In the past, I've had problems with extracting the correct CID. Depending on what window type, what OTHER CIDs are active, ect, I can sometimes get mixed results and get the wrong CID.
I want to have the flexibility to open a status window minimized so that it does not activate, but still be able to catch that event, and upon catching the event, be able to retrieve the CID for my scripts.
I know I can use timers, but I've done that before, and it uses WAY more cycles than I'd ever want.
I have a dll called "winevent.dll" that does a good job of telling me when a window is created or destroyed and gives me the Hwnd, but I don't know of any identifier that you can input the hwnd and retrieve window properties. Is there one?
Thanks to mIRC's scripting flexibility there are plenty of ways to work something out, but I want the most direct method that requires the least amount of code :P
So... any ideas?