Sign in to follow this  
Followers 0
Wack0

Banner ads

3 posts in this topic

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)

Share this post


Link to post
Share on other sites



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.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by Wack0

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