Brandon Woodmansee bwood@ucla.edu writes:
- case EM_AUTOURLDETECT:
- {
- if (wParam==1)
- {
editor->AutoURLDetect_bEnable=1;
return 0;
- }
- if (wParam==0)
- {
editor->AutoURLDetect_bEnable=0;
- return 0;
- }
- return E_INVALIDARG;
E_INVALIDARG is a pretty strange return value for a window procedure. Do you have a test case for that?