Jump to content
Sign in to follow this  
Dreamfire

Advanced GUI example

Did you find this example useful?  

40 members have voted

  1. 1. Did you find this example useful?



Recommended Posts

Dreamfire

Hi all, :mellow:

Maybe some of you will find this useful.

But here is an example advanced GUI program with some nice functions i build over time, based on my Steam window example http://www.autoitscript.com/forum/index.php?showtopic=95043

You can do with it whatever you want and maybe you will learn a thing or 2 from it.

Features

Screenshots

Posted Image

Posted Image

Download here

*Update 10 Aug 2012 - Fixed download link (thanks to Dizzy)

Edited by Dreamfire

Share this post


Link to post
Share on other sites
dani

Looks very nice, well done. I have to say I am not planning a GUI project anytime soon but will remember this for the future.

it's useful not usefull :mellow:

Edited by dani

Share this post


Link to post
Share on other sites
Dreamfire

Looks very nice, well done. I have to say I am not planning a GUI project anytime soon but will remember this for the future.

it's useful not usefull :(

Dankje voor de grammar correctie :mellow:

Share this post


Link to post
Share on other sites
Shafayat

Very useful indeed.

Thank you much.


[Not using this account any more. Using "iShafayet" instead]

Share this post


Link to post
Share on other sites
Dreamfire
*bump* no more feedback? Edited by Dreamfire

Share this post


Link to post
Share on other sites
SerpentsCode

This is amazing ... :(

Thank You!

Andy.

Share this post


Link to post
Share on other sites
SerpentsCode

sorry for double post and my english :( but i have a question!

How can I put on the first page(that with program and your discription) an IE emmbed page? like in the internet exemple?

So i want to put on the first page an IE emmbeding.

I tried a lot but i can't do it so i need your help.

Andy.

Share this post


Link to post
Share on other sites
Dreamfire

sorry for double post and my english :( but i have a question!

How can I put on the first page(that with program and your discription) an IE emmbed page? like in the internet exemple?

So i want to put on the first page an IE emmbeding.

I tried a lot but i can't do it so i need your help.

Andy.

here you go

main_gui.au3

Share this post


Link to post
Share on other sites
SerpentsCode

thank you finally I done it myself but it was not working corect but your's is perfect!I learn a lot of things with this.

I have a sugestion:Sometimes on the IE page gives a error because the page is not loading or the website is down.

This is the only bug i found it.

Again sorry for my english...

Andy.

Edited by VipEr

Share this post


Link to post
Share on other sites
SerpentsCode

How can i change color of the gui and how cand i add items(buttons etc).Koda is not working what program you used to generate the gui?

Share this post


Link to post
Share on other sites
Dreamfire

Button and other control colors are all found in the control funtions i made, GUI colors can be found in the main_gui.

I did not use Koda to create the GUI, i just made it myself.

For any specific questions, feel free to ask.

Edited by Dreamfire

Share this post


Link to post
Share on other sites
James

Looks awesome!

One thing I don't like is that when you click on a menu item, other items then become disabled until you click back. This isn't very user friendly IMO.

Other than that, I love it!

What font is that you are using?

James

Share this post


Link to post
Share on other sites
Dreamfire

What font is that you are using?

Tahoma 8px

Share this post


Link to post
Share on other sites
lsakizada

You got my star!

I have just one note.

How to use chiled windows with this GUI? I need to popup a chiled window.

I have tried without much successful.

Can you please try and let me know?

Regards


Be Green Now or Never (BGNN)!

Share this post


Link to post
Share on other sites
Dreamfire

You got my star!

I have just one note.

How to use chiled windows with this GUI? I need to popup a chiled window.

I have tried without much successful.

Can you please try and let me know?

Regards

Does this not work?

$O_WIN_CHILD = GUICreate($S_TITLE, $I_WIDTH, $I_HEIGHT, -1, -1, $H_STYLE, $H_EX_STYLE, $O_WIN) ;=== where $O_WIN is the parent window

Share this post


Link to post
Share on other sites
lsakizada

Does this not work?

$O_WIN_CHILD = GUICreate($S_TITLE, $I_WIDTH, $I_HEIGHT, -1, -1, $H_STYLE, $H_EX_STYLE, $O_WIN) ;=== where $O_WIN is the parent window

Dreamfire,

I try to popup yours other GUI named "STEAM" that you published somewhere else.

I think the style of the window does not works here.

from steam:

Local $oWINDOW = GUICreate($sWINDOW_TITLE, $iWINDOW_WIDTH, $iWINDOW_HEIGHT, -1, -1, BitOR($WS_POPUP, $WS_SYSMENU, $WS_MINIMIZEBOX), $WS_EX_LAYERED)

with adding the parent control:

Local $oWINDOW = GUICreate($sWINDOW_TITLE, $iWINDOW_WIDTH, $iWINDOW_HEIGHT, -1, -1, BitOR($WS_POPUP, $WS_SYSMENU, $WS_MINIMIZEBOX), $WS_EX_LAYERED,$O_WIN)

Its just messed up.

How to come over this issue?

I want to keep the same style of windows all over the interface.


Be Green Now or Never (BGNN)!

Share this post


Link to post
Share on other sites
lsakizada

Well well well ....I just figured it out. There is nothing about your script. Your script is working well.

The help file says that the WS_POPUP style can not be used with WS_CHILD.

WS_POPUP 0x80000000 Creates a pop-up window. This style cannot be used with the WS_CHILD style.

Same for the WS_EX_LAYERED style.

$WS_EX_LAYERED 0x00080000 Creates a layered window. Note that this cannot be used for child windows.

Do you have any idea how to popup good looking child window such as STEAM?


Be Green Now or Never (BGNN)!

Share this post


Link to post
Share on other sites
zorphnog

Looks good. The only thing I might do differently is embed the images as resources in the compiled version so that it is completely contained and no need for FileInstall's.

FYI I updated the busy window UDF so that it doesn't use gif89.dll (doesn't work well with Vista/Win7 UAC).

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.