Re: zooming
- From: "William" <Reply@xxxxxxxxxxxxxxxx>
- Date: Sun, 30 Oct 2005 11:10:16 -0600
<bob@xxxxxxxxxxxxxx> wrote in message
news:1130521686.183514.301180@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> it's full screen. as far as i know, there's no easy way to get the
> data behind the program window.
I'm not sure why you'd want to?
It's been a while since I've had to deal with stuff like
this, but... If the user clicks in your window, you'd
want to translate the mouse's X-Y position to that of the
original window's (if your zoom is 2X, then divide by two,
and add the left/top offsets of your zoom window's upper-
left corner). Then send a "fake" mouse message with those
values to the underlying application (you may have to do
a bit more - like give the app focus again, etc., but
that's the gist of it).
You might not have the image data, but you should have
the Window's handle, right?
-Wm
.
- References:
- zooming
- From: bob
- Re: zooming
- From: Oliver Wong
- Re: zooming
- From: bob
- Re: zooming
- From: Oliver Wong
- Re: zooming
- From: bob
- zooming
- Prev by Date: Re: seamless scrolling back
- Next by Date: Javaholics
- Previous by thread: Re: zooming
- Next by thread: Re: zooming
- Index(es):