3

I use FrontPage 2003 for linking html files, through the command 'Insert' > Hyperlink.

And the window opens as follows: enter image description here

I made a script with Autohotkey to resize the window, so I see more of the files in the 'current folder' (I think the class is SysTreeView32), but it doesn't apply to the child windows (I guess it is called mdichild), it shows as follows: enter image description here

What I need is to make the script resizes the window and all the child windows.

The current scrip is:

#NoEnv

ResizeWin(Width = 0,Height = 0)
{
  WinGetPos,X,Y,W,H,A
  If %Width% = 0
    Width := W

  If %Height% = 0
    Height := H

  WinMove,A,,%X%,%Y%,%Width%,%Height%
}

#!u::ResizeWin(800,800)
Mike
  • 2,051
  • 4
  • 28
  • 46
  • What end-goal are you trying to accomplish in making the window bigger? To easily select a larger number of elements? Or just navigate faster? If the latter, then I may be able to suggest another approach to solving your problem. – Bernard Saucier Mar 01 '14 at 16:57
  • yes I just need to see more files to select from, other than those 10 folders/files showing.. – Mike Mar 02 '14 at 03:51
  • Instead of resizing the actual dialog, you could also consider intercepting the original window, and pop up a custom GUI dialog with your script; after a file has been chosen, you can feed it to the original dialog. Maybe a little more effort, but at least it would work. – MCL Mar 04 '14 at 15:11

2 Answers2

3

From the screenshot, it looks like the resize is working.

Unfortunately, there are some windows that just don't resize properly. I assume that if you use your mouse, you can't resize it manually either. This is especially prevalent for older programs.

HAL9256
  • 12,384
  • 1
  • 34
  • 46
0

The only way of resizing individual controls, would be to use the ControlMove command.

However, in order to use this command, the control must be able to be detected. This would be either as ClassNN, control name, or HWND (window handle).

Elliot DeNolf
  • 2,920
  • 1
  • 15
  • 12