Sign in to follow this  
Followers 0
oleg

Gui Style Problem

6 posts in this topic

Hi

I got a problem i have a flash object gui but for some reason i cant get visual styles to be applied :( whatever style i try the gui window stays the same :)

Any :think: ?


There is a hex ( 31303030303030 ) reasons i love AutoIt !

Share this post


Link to post
Share on other sites



can you post an example?

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

$swfObj = ObjCreate ("ShockwaveFlash.ShockwaveFlash.1")

$winObj = GUICreate("FLASH GUI", 640, 400,$WS_POPUP)

$swfActiveX = GUICtrlCreateObj ($swfObj, 0, 0, 640, 400)

$swfObjEvents = ObjEvent ($swfObj, "FSCommand")

$swfObj.Movie = @WorkingDir & '/AutoItFlashPlayer.swf'

$swfObj.ScaleMode = 3

;$swfObj.bgcolor = "#FFFFFF"

$swfObj.Loop = True

$swfObj.wmode = "Opaque"

$swfObj.Quality = 5

$swfObj.Menu = false

$WS_POPUP Used but gui still have -1 Default style :think:


There is a hex ( 31303030303030 ) reasons i love AutoIt !

Share this post


Link to post
Share on other sites

GUICreate ( "title" [, width [, height [, left [, top [, style [, exStyle [, parent]]]]]]] )

might try putting it in the correct param position, don't think putting it in the left param will give the desired results.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Damn im stupid :think:

And as always you are a GEM Gafrost !


There is a hex ( 31303030303030 ) reasons i love AutoIt !

Share this post


Link to post
Share on other sites

Damn im stupid :think:

And as always you are a GEM Gafrost !

I found that in seconds, however i had to work on the script to create a functional program, now I can also say...

Damn im stupid :(

And as always you are a GEM Gafrost !

8)


NEWHeader1.png

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