mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2005
Posts: 28
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Oct 2005
Posts: 28
If there could be an identifier to return the hWnd for the mIRC main window (...and do so correctly, even if there are multipul instances being run) that would really be helpful for use with many of the DLLs out there for mIRC laugh

Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
There already is $window(-2).hwnd. This is of no use for DLLs though, as they already get the main window's handle in the mWnd parameter to each call (as well as via the LOADINFO structure) automatically anyway.


Saturn, QuakeNet staff
Joined: Oct 2005
Posts: 28
T
Ameglian cow
OP Offline
Ameglian cow
T
Joined: Oct 2005
Posts: 28
thanks man... feeling kinda silly now...

heh... I swear I checked the darn help file... I guess my brain was too fried .... I just checked it again, and found that reference you mentioned... crazy

Thanks for the help


Link Copied to Clipboard