Wack0 Posted August 3, 2012 Posted August 3, 2012 Hey, I am trying to implement banner ads in a piece of software coded in autoit, the only way I can seem to do this is via the functions in IE.au3, but of course when clicked it'll always open in a new IE window. I tried other methods but they had their own problems (either a non-clicked image, that was messed up in the case of animated GIFs, or a clickable piece of blank window). My question is this: How would I get a clickable 468*60 image in a dialog box? (and yes, when clicked it'd just ShellExecute() a url to open it in the default browser)
wakillon Posted August 4, 2012 Posted August 4, 2012 you can create you own dialog box with GUICreate use GUICtrlCreatePic for get a Picture control and use GUICtrlSetOnEvent for set your called function when this control is clicked AutoIt 3.3.18.0 X86 - SciTE 5.5.7 - WIN 11 24H2 X64 - Other Examples Scripts
Wack0 Posted August 4, 2012 Author Posted August 4, 2012 (edited) Thanks wakillon, using GUICtrlSetOnEvent worked... but I used so all image formats would work...(by the way, when I said earlier 'the functions in IE.au3' I meant '_IECreateEmbedded() etc') Edited August 4, 2012 by Wack0
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