BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 BCGControlBar Pro for MFC Forums
 BCGControlBar Suggestions List
 new function in CBCGPPropList
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  


230 Posts

Posted - 08/31/2007 :  12:48:50 PM  Show Profile  Visit zaksoft's Homepage  Reply with Quote
There are some very usefull function like ResetOriginalValue() or SetModifiedFlag(), but nothing to reset modified status. When you save data and let the user continue (ie APPLY) you need something that reset all modified flags to FALSE.
Without this function if you have an empty field and the user insert a string and save (looping on modified prop you write only new data) and then delete the string the status of prop returns to unmodified and when last save happen the prop is skipped (since not modified) and the data on disk is wrong.


Davide zaccanti


3662 Posts

Posted - 09/03/2007 :  07:09:56 AM  Show Profile  Visit Support's Homepage  Reply with Quote
Thanks for suggestion!

In 9.55 (comin soon) we'll add the following simple method:

void CBCGPPropList::CommitModifiedValues (BOOL bRedraw = TRUE);

Best regards,

BCGSoft Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2017 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000