Jump to content

Advanced GUI example


Dreamfire
 Share

Did you find this example useful?  

41 members have voted

  1. 1. Did you find this example useful?



Recommended Posts

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
Link to comment
Share on other sites

  • 2 weeks later...

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • 2 weeks later...

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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)!

Link to comment
Share on other sites

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)!

Link to comment
Share on other sites

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).

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...