Nelek wrote:
Can you put a bit of code where the error is coming?
DISP_PROPERTY_EX(CMyCtrl, "AutoChecking", GetAutoChecking, SetAutoChecking, VT_BOOL) //============================================= afx_msg void SetAutoChecking(BOOL bNewValue); afx_msg BOOL GetAutoChecking(); //============================================= void CMyCtrl::SetAutoChecking(BOOL bNewValue) { bAutoCheck = bNewValue; SetModifiedFlag(); } //============================================= BOOL CMyCtrl::GetAutoChecking() { // TODO: Add your property handler here return bAutoCheck; } //============================================= dispidAutoChecking = 17L,