jrj/project/business/AR/CustomerTran.AR.cpp
@@ -99,12 +99,12 @@ if (str.length() != 36) { hdr.mask = DMS_CSSSTYLE; hdr.cssstyle = L"color:#ff0000"; hdr.pCssStyle = (LPTSTR)L"color:#ff0000"; } else if (str.find(L"-") != 8) { hdr.mask = DMS_CSSSTYLE; hdr.cssstyle = L"color:#ff0000"; hdr.pCssStyle = (LPTSTR)L"color:#ff0000"; } } return 1; @@ -123,6 +123,7 @@ //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&CustomerTranARView::OnSetFocus); AttachEvent(L"dw_list", L"DWV_ASKSTYLE", (FEvent)&CustomerTranARView::OnItemAskStyle); return 1; } int OnSave()