Resizing Windows to Hug Images

From: Keith (_at_.)
Date: 02/06/05


Date: Sun, 6 Feb 2005 21:11:50 -0000

I am trying to achieve the following - can anyone help?

Before you jump on me for wanting to interfere with the user's windows -
it's' for a corporate intranet where we can and will dictate what they see
and how they see it.

I have a popup which displays an ASP page with an image on and a small amout
of text (not that it matters much I guess, but entire site is in ASP).

I want the window to resize itself on opening to 'hug' the image (scrolling
to see the text is fine - as long as the image is hugged as much as
possible). However, some images will be bigger than the screen, so I want a
maximum which it will resize to if the image is bigger than the specified
maximum.

Also, to confuse matters - some users have varying screen-resolutions, so an
added bonus would be to detect the users screen size and set the maximum
resize value according to this.

Any suggestions?

Thanks in advance



Relevant Pages

  • Resizing Windows to Hug Images
    ... Before you jump on me for wanting to interfere with the user's windows - ... I want the window to resize itself on opening to 'hug' the image (scrolling ... maximum which it will resize to if the image is bigger than the specified ... Also, to confuse matters - some users have varying screen-resolutions, so an ...
    (microsoft.public.scripting.vbscript)
  • making forms larger than screen size
    ... From: Zaher Zeidan ... is there a way to resize a form so that it's bigger than the screen size of the windows?? ... I mean if you run your windows with 780x1024 resolution you won't be able to set your height or width to any thing larger than this.. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: repainting own panel-component
    ... When a resize operation ... Windows sends a wm_Sizing message. ... >stripes remains constant and they get thicker when the control grows, ... ClientRect then one might as well check that, and repaint the lot, ...
    (comp.lang.pascal.delphi.misc)
  • Re: OT: more Win7 fun
    ... Also use qres to resize... ... I imaging there's a component that must be installed in Windows for this to work. ... but you'd need a completely awful driver to get what that movie shows. ...
    (comp.sys.mac.advocacy)
  • Re: Making image files smaller for email
    ... OE doesn't have any feature to resize images. ... If you are scanning an image for display on a monitor, ... scanner resolution to about 100 DPI is reasonable. ... Depending on your version of Windows, ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)

Loading