Mimic Ctrl + Scroll

Started by Jeffrey Ferreira, September 27, 2024, 02:21:55 PM

Previous topic - Next topic

Jeffrey Ferreira

Hi All,

I'm working on a program to display Delivery Pictures for a customer. I'm displaying the pics using Shell.Explorer. It is working nice except the pictures are really large. I found if I do a ctrl + scroll zoom in and zoom out. Is there a way i can do this with negative ctl's?

or maybe there is a way to fit the picture to the screen. We used shell explorer because it gives a preview of multiple docs (xml, pdf, any image, text)

thanks

jeff

Devon Austen

Instead o just loading the file you can load a html file with something like

<img src="img_path.jpg" width="100%" height="100%">

this will auto size it for you.

I would also recommend using *browser instead of shell.explorer. *browser is a embedded chrome control as opposed to an embedded internet explorer control.
Principal Software Engineer for PVX Plus Technologies LTD.

Jeffrey Ferreira

Deven the html image link worked. i had to change the control size but it still looks good. thank you