Sign in to follow this  
Followers 0
ZenXiis

Scrollbars

3 posts in this topic

ive been trying to make the scroll bars work but i cant seem to find out how ive been looking threw the help file and theres pretty much nothing on there to help make them work

#include <GUIConstants.au3>
GUICreate("random title",700,750,-1,0,0x00FC0000)
Opt("GUIOnEventMode", 1)
GUISetOnEvent($GUI_EVENT_CLOSE, "EndScript")
HotKeySet("{ESC}", "EndScript")
GUISetBKcolor(0xFFFFFF)
GUISetState (@SW_SHOW)
$a = GUIctrlCreatepic("picture.jpg",0,0,702,1100)
GUIctrlsetresizing($a,$GUI_DOCKSIZE)

While 1
Sleep(5)
Wend

Func EndScript()
Exit
EndFunc

i just want to be able scroll the picture

Share this post


Link to post
Share on other sites



just allow the gui to be resized


[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

Share this post


Link to post
Share on other sites

but then the Gui would exceed most screen sizes

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0