loadpicture can not autosize

Report problems with documented functionality
tuzi_temp

loadpicture can not autosize

28 Dec 2016, 01:21

Code: Select all

Pics := []
Pics.Push(LoadPicture("1.jpg","w500 h-1"))
Pics.Push(LoadPicture("2.jpg","w400 h-1"))

;pic1's w:h is 1:1
;pic2's w:h is 3:2
;first display pic1,then display pic2, w:h still 1:1
Gui, Add, Pic, vPic1 +Border, % "HBITMAP:*" Pics[1]
Gui, Show, w1000 h500
Sleep, 3000
GuiControl, , Pic1, % "HBITMAP:*" Pics[2]
return

GuiClose:
GuiEscape:
	ExitApp
return
User avatar
Klark92
Posts: 161
Joined: 18 Jan 2015, 19:33

Re: loadpicture can not autosize

31 Dec 2016, 16:10

Does arrays store the binary?
Smart Kombo 1.0 | One of the best Knight Online's key combo program...

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 62 guests