Feedback
Posted: 21 Apr 2023, 16:56
[Moderator's note: Topic moved from Bug Reports.]
Here are all the issues i found while creating functional scripts:
1
maximizebox doesn't work
minimizebox removes both window buttons
2
negative sign is not allowed
3
.dll file extension is not required
also applies to trayseticon()
4
when you add a picture control, then set the filename to blank, and load a new image of a different size, the control is also resized. if the filename is empty, the size of the control should not be affected so that the new image will scale to the original size instead of its actual size
5
wingetpos
the width and height of windows are inaccurate, also affecting the x coordinate (e.g. file explorer, run), because it includes the resize border which is 7px all around except for the top, regardless of whether the window is resizable or not
6
winmove
need SW_RESTORE parameter from showCmd using SetWindowPlacement
7
the Start in field of a shortcut to a script doesn't work for loading files from the relative path of the working directory
Here are all the issues i found while creating functional scripts:
1
Code: Select all
mygui := gui()
mygui.opt("-maximizebox")
mygui.show("w210")
minimizebox removes both window buttons
2
Code: Select all
mygui := gui()
mygui.add("edit", "number")
mygui.show()
3
Code: Select all
mygui := gui()
mygui.add("pic", "icon2", "shell32")
mygui.show()
also applies to trayseticon()
4
Code: Select all
mygui := gui()
picture := mygui.add("pic",, "32x32.png")
mygui.show()
esc::
{
picture.value := ""
picture.value := "16x16.png"
}
5
wingetpos
the width and height of windows are inaccurate, also affecting the x coordinate (e.g. file explorer, run), because it includes the resize border which is 7px all around except for the top, regardless of whether the window is resizable or not
6
winmove
need SW_RESTORE parameter from showCmd using SetWindowPlacement
7
the Start in field of a shortcut to a script doesn't work for loading files from the relative path of the working directory