each window has an hwnd, and all of mirc various window type $identifiers have a .hwnd property; like $chan(1).hwnd , $get(1).hwnd , $window(name).hwnd , etc