Jump to content

Place a banner/ads in the program GUI


Recommended Posts

Hi everybody

While trying the "Appremover"(http://www.appremover.com/) I've seen that they uses ads/banner directly in the program GUI...I've tried something embedding an istance of internet explorer

_iecreatembedded

But dont gives a good result...

Any idea?

Look the image

post-57854-1275688561892_thumb.jpg

Link to comment
Share on other sites

You ould actually create that using standard GUI Ctrls. GUICtrlCreatePic, GUICtrlCreateLabel Etc. Just getting it all positioned and the correct fonts and sizes will take some time.

I don't know what the problem was using html since you didn't post that image but the method should work just fine.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
Share on other sites

You right,but I've just tried with your method but the hardest target is to take the right position to display...can insert the code(EXAMPLE:googleads code) in the program?

And other question...who knows kingolotto(http://kingolotto.com)?

The 100% free lottery that uses a smart system to get money:

1)Choose numbers

2)Click on banner to activate the play!

I want find a method to do this in a program GUI

Edited by IVIarco
Link to comment
Share on other sites

You right,but I've just tried with your method but the hardest target is to take the right position to display...can insert the code(EXAMPLE:googleads code) in the program?

And other question...who knows kingolotto(http://kingolotto.com)?

The 100% free lottery that uses a smart system to get money:

1)Choose numbers

2)Click on banner to activate the play!

I want find a method to do this in a program GUI

#include <GuiComboBoxEx.au3>
#include <WindowsConstants.au3>
#include <GuiConstantsEx.au3>

$g1=GUICreate("1")
GUISetState()

$c1 = GUICreate("2",200,100,50,100,$WS_CHILD,-1,$g1)
GUISetState()
$c2 = GUICreate("3",200,100,-200,0,$WS_CHILD,-1,$c1)
;things to scroll on this window
$I = GUICtrlCreateIcon(@ProgramFilesDir & "\AutoIt3\icons\au3.ico",-1,150,0)
GUICtrlCreateLabel("some text",10,2,140,30)
GUICtrlSetFont(-1,18)
;end of things to scroll
GUISetState()

for $n = -180 to 10
    ;controlmove($g1,"",$i,$n,0)
    controlmove($c2,"",$c2,$n,0)
    sleep(20)
Next
sleep(2000)
for $n = 10 to 190
    ;controlmove($g1,"",$i,$n,0)
    controlmove($c2,"",$c2,$n,0)
    sleep(20)
Next

sleep(2000)
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...