Re: Magnify Image?
- From: Joe Cool <joecool1969@xxxxxxxx>
- Date: Tue, 1 Sep 2009 09:05:59 -0700 (PDT)
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?
.
- Follow-Ups:
- Re: Magnify Image?
- From: Peter Duniho
- Re: Magnify Image?
- References:
- Magnify Image?
- From: Joe Cool
- Magnify Image?
- Prev by Date: Home Income
- Next by Date: Use of Unassigned Local in Try/Catch/Finally
- Previous by thread: Magnify Image?
- Next by thread: Re: Magnify Image?
- Index(es):
Relevant Pages
|