Re: Magnify Image?



On Sep 1, 11:31 am, Joe Cool <joecool1...@xxxxxxxx> wrote:
I have an application that does some things with JPG images. One thing
it does is display the image in full screen mode. I would like to add
a "magnify" feature in this full screen mode where the area under the
mouse is zoomed into while the mouse button is down. The actual size
of the JPG is larger than the physical screen so more detail should be
seen.

I have tried to move the form that is showing the image to an area
outside of the primary screen area by descreasing the Top and Left
properties to less than zero (the original  value), and increasing the
height and width of the form so the overall size is larger than the
primary screen. But nothing happens. Debug output shows that the form
properties are not being changed.

What am I missing?

OK, part of the problem was that I had inadvertantly set the full
screen form's windowstate to maximized, and you can't change the
location if maximized. So I have that set to normal. The form width
and height are set to the primary screen size before the form is
shown.

So the form now shifts over to the left and up, but it doesn't resize
larger. I have the form's border style to none since I do not want any
bordering or caption bar. But apparently, borderstyle none will not
let you resize the window in code?

I am wondering why I am able to resize the form prior to showing it,
but cannot after it is shown?
.



Relevant Pages

  • Re: Full Screen
    ... FormBorderStyle.None; this will remove the border and title bar. ... only remains to set the form's WindowState to Maximized and it should occupy ... > screen mode ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Publisher to Firefox
    ... Assuming that you are using Pub 2003, when you insert a jpg and then resize ... the image by reducing the size of the image box, and add a 'fancy' border ... Compress graphics file sizes to create smaller Publisher Web ... order to get your desired look, and not end up with the low quality gif. ...
    (microsoft.public.publisher)
  • Re: No WYSIWYG in FP
    ... "Dave" wrote in message ... Remember that you are no longer working with Word, and that HTML ... > with the bottom of the left border, but in preview/actual mode, the left ... I want to resize the inner table to make ...
    (microsoft.public.frontpage.client)
  • RE: How Can You Force a Particular Popup Form Height and Width?
    ... then resize the design area grid not the forms border when in design view.. ... if auto resize is set to yes the form will resize to your design grids size ...
    (microsoft.public.access.formscoding)
  • Re: How to avoid maximizing dialog while double clicking on titlebar..
    ... buttons and set the Border to "Dialog Frame" it shouldn't resize any longer ... Intent of doing so is i dont want user to resize the application ... dialog gets restore command and window size is restored.. ...
    (microsoft.public.vc.mfc)