How do I Temporarily Disable "protected override void WndProc(ref Message m)"?
The Solution consists of two projects...
"MainProject" is all the main code written in VB
"CheckBoxComboBox" is a fancy combobox control written in C#
When running the VB code, to set up the control (.location, .size etc), the changes trigger several sections of the C# code which all start with...
"protected override void WndProc(ref Message m)"
Which is fair enough but it also happens when I call say a .location.x etc
Because I have a fair number of the controls on the form; the form can get quite stuttery, as the code continually loops thru.
I would like the ability to enable and disable this.
Is there a way to directly enable/disable this?
Or, is there a way to pass a boolean variable between the two projects?
I've tried to do both of these already, as well as enable/disable the controls but i'm not getting anywhere.