Unable to check a checkbox using C# WinAPI
问题 I'm trying to check a checkbox inside a program called AviReComp and I'm unable to do it somehow. I've tried all sorts of code: //Check the checkbox IntPtr SubtitlesSection = FindWindowEx(MoreOptions, IntPtr.Zero, null, "Subtitles"); IntPtr AddSubtitlesCheckbox = FindWindowEx(SubtitlesSection, IntPtr.Zero, null, "Enable/Disable"); SendMessage(AddSubtitlesCheckbox, BM_SETSTATE, 1, IntPtr.Zero); SendMessage(AddSubtitlesCheckbox, BM_SETCHECK, 1, IntPtr.Zero); SendMessage(AddSubtitlesCheckbox, WM