I recently came across this snippet of code from a third party vendor, and it works! What I don't understand is how.
int nSelectionEnd =0;
At this point, nSelectionStart and End seem to have the correct values. This violates the rules of 'C', and though I am new to c++, it seems to violate them also. Does anyone have any ideas?