BOOL CMyPropertyGridCtrl::ValidateItemData( CMFCPropertyGridProperty*
pProp )
{
CString sValue = pProp->GetValue();
// sValue has the original value, e.g., “100”, rather than the
“999” I just typed.
int iValue = _tstoi( sValue );
if( iValue > 100 )
pProp->SetValue( _T(“100”) );
...
Any help would be greatly appreciated… There just isn’t much on the
web regarding these newer MFC classes.
Thanks!
Steve
Steve
<in...@RescueRigger.com> wrote in message
news:f0bf3352-29d2-47fc...@w35g2000prg.googlegroups.com...