Set check state in other application's CheckedListBox

81 views Asked by At

Okay so i've been using P/invoke for quite a long time now, but i came across a problem google doesn't answer.

A program i use contains a CheckedListBox. When i inspect the object, WinspectorSPY shows it as a "ListBox" though. But all options in the listbox contain a checkbox within the line.

How do i check one of the checkboxes from my C# program using P/invoke? Is this even possible? I messed around with gettext/settext and checkbox messages, but since this is a "checkbox within a listbox", this doesn't help me any further.

This is the target CheckedListBox

0

There are 0 answers