Author Topic: VB6 Question  (Read 2325 times)

0 Members and 1 Guest are viewing this topic.

Matersammichman

  • Guest
VB6 Question
« 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!!!!

Atook

  • Swamp Rat
  • Posts: 1027
  • AKA Tim
Re: VB6 Question
« Reply #1 on: November 21, 2006, 04:29:57 PM »
In the application object:

zoomwindow
zoompickwindow <--new to me, since 2004 I think.

Matersammichman

  • Guest
Re: VB6 Question
« Reply #2 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:

Bryco

  • Water Moccasin
  • Posts: 1882
Re: VB6 Question
« Reply #3 on: November 22, 2006, 09:57:58 AM »
ThisDrawing.Application.ZoomPickWindow

Atook

  • Swamp Rat
  • Posts: 1027
  • AKA Tim
Re: VB6 Question
« Reply #4 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.

Matersammichman

  • Guest
Re: VB6 Question
« Reply #5 on: November 25, 2006, 10:49:40 AM »
I've got it now, thanks.