philipharvey Posted July 23, 2007 Share Posted July 23, 2007 I am trying to write what should be about the easiest application you can imagine for Autoit3. I want to display an image in a fixed sized GUI. The image is larger than the GUI (vertically only) so I want to add a vertical scroll bar. The problem is that the scroll bar does not function. I have tried many different ideas but seem to be hitting my head against a brick wall with this one. I'm hoping someone with some more GUI experience can help with this one. Here is one example of code I have tried: CODE$NotifyGUI=GUICreate("News",300,300,-1,-1,BitOr($WS_POPUPWINDOW,$WS_VSCROLL,$SS_NOTIFY )) $NotifyPic = GuiCtrlCreatePic("today.gif",0,0,280,800,BitOR($WS_VISIBLE,$SS_NOTIFY),$GUI_WS_EX_PARENTDRAG) I have also tried using Auto3Lib without success. Any pointers appreciated. Link to comment Share on other sites More sharing options...
mikehunt114 Posted July 23, 2007 Share Posted July 23, 2007 Try here. IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] Link to comment Share on other sites More sharing options...
philipharvey Posted July 27, 2007 Author Share Posted July 27, 2007 Try here.Thanks for the pointer, it is getting quite close to what I am looking for.The only problem now is I can't figure out how to calculate what I should set the scroll range to so the image is fully displayed without white space. I'll go post about that in the above thread...Cheers Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now