Track Changes

Discussions about document viewing.
Post Reply
anasrallah
Posts: 13
Joined: Sat Apr 19, 2008 1:50 am

Track Changes

Post by anasrallah » Wed Mar 27, 2013 2:25 am

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.

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Track Changes

Post by SamiKharma » Wed Mar 27, 2013 2:08 pm

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

anasrallah
Posts: 13
Joined: Sat Apr 19, 2008 1:50 am

Re: Track Changes

Post by anasrallah » Thu Mar 28, 2013 6:42 pm

How do you track rotation events done with right click on gdviewer?
Thanks

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Track Changes

Post by SamiKharma » Sat Mar 30, 2013 3:28 pm

Hi,

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

Cheers,
Sami

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests