Home | About us | Overview | Softwares - Downloads | Evaluate | Order | Support | old forums | Contact | F.A.Q. | Documentations | Search | Sitemap

MouseWheelMode GdViewer property

Support for GdViewer OCX and GdViewer Pro ActiveX/SDK.

MouseWheelMode GdViewer property

Postby kornballe on Wed May 28, 2008 6:26 pm

Hi,

I am using GdPicture Pro 5.4 with Visual C++/MFC. I cannot get the MouseWheelMode property to function. I would like the wheel to perform vertical scrolling. I set the property to '1' both in the Control Properties for my CDialog resource, and also for good measure I set the property to '1' in code. The wheel still does nothing. Am I missing something silly? :?

Thanks,
Ron
Ron Lytal
kornballe
 
Posts: 23
Joined: Fri Sep 14, 2007 12:27 am
Location: Irvine, CA

Re: MouseWheelMode GdViewer property

Postby Loïc on Sun Jun 08, 2008 12:50 pm

Hi Ron,

I can't reproduce this problem with the last edition.

Could you write a tiny app. which shows this behaviour and send it to esupport (at) gdpicture (dot) com.

Loïc
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France

Re: MouseWheelMode GdViewer property

Postby icecoke on Thu Aug 21, 2008 3:03 pm

Hello,

did you solved this by email? I have the same problem - when I use the example app for delphi (GdTwain Pro Toolkit Sample) any wheel movement is ignored (no matter what value I set for MouseWheelMode).

Any Idea? I would love the user can zoom in and out with the mousewheel

icecoke


*** update ***

Oh, shit - the original post was about GdPitcure - sorry for that! I'm on GdViewer here :| (just did a forum search to come here) So, I should make a new post?
icecoke
 
Posts: 4
Joined: Thu Aug 21, 2008 2:58 pm

Re: MouseWheelMode GdViewer property

Postby Loïc on Thu Aug 21, 2008 3:13 pm

Hi,

In the sample you can't zoom on image because the image has been released from memory.

Just comment this line:

Code: Select all
Twain1.CloseImage(nImageID);


...And enjoy ;)

Best regards,

Loïc
User avatar
Loïc
Site Admin
 
Posts: 1350
Joined: Tue Oct 17, 2006 11:48 pm
Location: France

Re: MouseWheelMode GdViewer property

Postby icecoke on Fri Aug 22, 2008 12:12 pm

Hello Loïc,

it seems I had to comment this too, to get it work:

GdViewer1.ImageClosed;

But now it works.

Just two questions left:

I can't close the application successful without call GdViewer1.ImageClosed; at the end - where should I place it?

On the other hand, I have ZoomMode as 'ZoomFitToControl' and I don't want the user to zoom out wider than this (which makes no sense in my opinion). I save the zoom double after loading the image, which gaves me the zoom factor which corresponds to 'ZoomFitToControl' - but I can't catch the wheel movements before the user can give it a wider zoom. It seems the 'onZoom' event is called after the zoom is done. Is there a way to catch it before? So that it won't flicker from the wider view to 'ZoomFitControl' ? Or is there something like a minimum/maximum zoom property to achieve this? I did not found anything like this.


Many thanks in advance!

icecoke
icecoke
 
Posts: 4
Joined: Thu Aug 21, 2008 2:58 pm

Re: MouseWheelMode GdViewer property

Postby icecoke on Mon Aug 25, 2008 11:01 pm

I thought this is the support Forum of gdpicture.com? No support anymore?

Maybe someone let me know where I should ask support questions at gdpicture.com?

Many thanks in advance

icecoke
icecoke
 
Posts: 4
Joined: Thu Aug 21, 2008 2:58 pm

Re: MouseWheelMode GdViewer property

Postby kornballe on Mon Aug 25, 2008 11:33 pm

Mr IceCoke,
I started this thread. Nobody responds over the weekend to your desire and you have an attitude and spew negative energy? Maybe take a deep breath, do something else in the meantime, and cope. :roll:
Regards,
Ron
Ron Lytal
kornballe
 
Posts: 23
Joined: Fri Sep 14, 2007 12:27 am
Location: Irvine, CA

Re: MouseWheelMode GdViewer property

Postby icecoke on Wed Sep 03, 2008 12:12 pm

kornballe wrote:Mr IceCoke,
I started this thread. Nobody responds over the weekend to your desire and you have an attitude and spew negative energy? Maybe take a deep breath, do something else in the meantime, and cope. :roll:
Regards,
Ron



yep, sure - which weekend do you think of?

I did not put any pressure on this. gdpicture did it when they set a 30 days limit in their trial.

regards,
icecoke
icecoke
 
Posts: 4
Joined: Thu Aug 21, 2008 2:58 pm

Re: MouseWheelMode GdViewer property

Postby kornballe on Wed Sep 03, 2008 7:38 pm

icecoke wrote:yep, sure - which weekend do you think of?

I did not put any pressure on this. gdpicture did it when they set a 30 days limit in their trial.

regards,
icecoke


Now I would say you are being neglected.
I don't use the wheel to zoom like you do - I handle zoom requests via my user interface, so I can process them and control max and/or min zoom like you want to do. I suspect that if you are observing the zoom event handler being called after the zoom has been performed, then you may be hosed. Maybe you can handle the wheel event and zoom control yourself? I agree with you that you should be able to hook in before the zoom is performed... Overall this has been a good control for me.. I've been using it hard for over a year in a document imaging setting, and it has been solid overall. Once in a while responses to questions can be slow in coming. (obviously) Good luck.
Ron Lytal
kornballe
 
Posts: 23
Joined: Fri Sep 14, 2007 12:27 am
Location: Irvine, CA


Return to GdViewer [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 0 guests