How to set radioButton to checked without generating an event?

KKW

Member
Joined
Nov 15, 2013
Messages
7
Programming Experience
10+
Hello!

I need to set a radioButon to checked and not generate a CheckedChanged event.
Referring to an earlier similar post of mine:

http://www.csharpforums.net/windows...ut-triggering-selectedindexchanged-event.html

The SendMessageA function doesn't seem to work in this case, probably because I wasn't able to locate a parameter to set the checked state.
Did I just miss it?

Where do I go from here?
Any suggestions?

Thanks!
VS2010
.Net 3.5
 
Last edited:
Why would you? If the Checked property changes then the CheckedChanged event is raised. Anything else is illogical. If you don't want to do something when the event is raised then use an 'if' statement in the event handler.
 
Back
Top Bottom