You have to catch TVN_ITEMCHANGED notification in WM_NOTIFY event and test NewState/OldState change See here for API reference https://msdn.microsoft.com/en-us/library/windows/desktop/bb773526(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/bb773425(v=vs.85).aspx   It's similar to ListView with checkboxes where is LVN_ITEMCHANGED notification event where AutoIt's code looks like this: GUIRegisterMsg($WM_NOTIFY, "WM_Notify_Events")