Page 1 of 1

Track Changes

Posted: Wed Mar 27, 2013 2:25 am
by anasrallah
what is the best way to determine if the document got changed and needs saving? I can have a boolean variable for my functions but I'm not able to track when right click is used.

Re: Track Changes

Posted: Wed Mar 27, 2013 2:08 pm
by SamiKharma
Hi,

This is definitely an app level design. An imaging SDK should not keep track of this, but you should in your application. Different people do it in different ways, whether a resource manager, a history stack, or just simple flags, its up to you.

Best of luck,
Sami

Re: Track Changes

Posted: Thu Mar 28, 2013 6:42 pm
by anasrallah
How do you track rotation events done with right click on gdviewer?
Thanks

Re: Track Changes

Posted: Sat Mar 30, 2013 3:28 pm
by SamiKharma
Hi,

Here is a list of all the events of the GdViewer, among them is the RotationChanged event:
http://guides.gdpicture.com/v9/html/con ... iewer.html

Cheers,
Sami