May i know how to undo the image setting back to it's original setting ?
For example, i changed the brightness to lighter, then i wanted to undo it and set it back to original brightness, i try brightness( 0 ) but it gets to another brightness instead of original setting.
Please give me some guide on this.
The best way to implement an undo is to use a 2nd copy of the image control to save a copy of the image prior to the modifications that you may wish to undo. You can copy the image from the one control to the other using the hImage property. So for instance:
undoCtrl.hImage = mainCtrl.hImage
' Do something to the mainCtrl imageman control
' If you decide to undo it then just
mainCtrl.hImage = undoCtrl.hImage
' Now the change has been undone....
This question is closed to new answers.