TheSwamp

Code Red => VB(A) => Topic started by: Matersammichman on November 21, 2006, 04:12:43 PM

Title: VB6 Question
Post by: Matersammichman on November 21, 2006, 04:12:43 PM
This SHOULD be simple...
I need VB6 code to Zoom a user-selected rectangle on my desktop.
HELP!!!!
Title: Re: VB6 Question
Post by: Atook on November 21, 2006, 04:29:57 PM
In the application object:

zoomwindow
zoompickwindow <--new to me, since 2004 I think.
Title: Re: VB6 Question
Post by: Matersammichman on November 22, 2006, 08:31:22 AM
Atook, thanks for the reply, and my apologies, but for this question I was talking about a true Visual Basic application (not CAD). There's alot of code out there for "magnifying glass" or "zoom to the center of the screen" applications, but I want the good old standard "Zoom to a user-defined rectangle".
Still looking for suggestions... :lol:
Title: Re: VB6 Question
Post by: Bryco on November 22, 2006, 09:57:58 AM
ThisDrawing.Application.ZoomPickWindow
Title: Re: VB6 Question
Post by: Atook on November 22, 2006, 10:47:20 AM
Ahh, I understand now, not CAD, just windows in general?

I'm not sure what you'd use. Have you looked into the accessibility/magnifier stuff in windows? If they've exposed any of it in an API you might be able to use that. Again, it's out of my league so I'm just guessing.
Title: Re: VB6 Question
Post by: Matersammichman on November 25, 2006, 10:49:40 AM
I've got it now, thanks.