Jump to content
Sign in to follow this  
Dejan

another GUI in one gui

Recommended Posts

Dejan

i have a GUI and a button into it. now when i clicks the button it starts another gui but on closing it closes the parent gui. i searched the forum about it but no success.

my another problem is here http://www.autoitscript.com/forum/index.php?showtopic=79162 i am waiting for someone to help me there.

i am very new and sorry if these are stupid questions or are in wrong section. but i really need to know about it.


[font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font]

Share this post


Link to post
Share on other sites
Szhlopp

i have a GUI and a button into it. now when i clicks the button it starts another gui but on closing it closes the parent gui. i searched the forum about it but no success.

my another problem is here http://www.autoitscript.com/forum/index.php?showtopic=79162 i am waiting for someone to help me there.

i am very new and sorry if these are stupid questions or are in wrong section. but i really need to know about it.

On the second GUI you have a 'While' loop don't you? It probably says:

Case $GUI_EVENT_CLOSE
    Exit

Change it to:

Case $GUI_EVENT_CLOSE
    GuiDelete($hGui2)
    Exitloop
Edited by Szhlopp

Share this post


Link to post
Share on other sites
Dejan

On the second GUI you have a 'While' loop don't you? It probably says:

Case $GUI_EVENT_CLOSE
    Exit

Change it to:

Case $GUI_EVENT_CLOSE
    GuiDelete($hGui2)
    Exitloop
thanks dude. can you tell me how can i use a animated GIF into my gui? i tried to use GuiCtrlCreateGraphic() and GuiCtrlCreatePic() but the Gif is not moving and animating.

also i want to know how can i do it http://www.autoitscript.com/forum/index.php?showtopic=79162

thanks for the help.


[font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font]

Share this post


Link to post
Share on other sites
Szhlopp

thanks dude. can you tell me how can i use a animated GIF into my gui? i tried to use GuiCtrlCreateGraphic() and GuiCtrlCreatePic() but the Gif is not moving and animating.

also i want to know how can i do it http://www.autoitscript.com/forum/index.php?showtopic=79162

thanks for the help.

Shrug on the inet? ;)

By default AutoIt doesn't support animated GIF's. Though somebody posted a UDF to play them in the 'Example Scripts' forum. Try a search=)

Share this post


Link to post
Share on other sites
Dejan

what is the name of UDF and did you check my link? thanks for your reply.


[font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font]

Share this post


Link to post
Share on other sites
Dejan

@ Pain

Thanks for the link and help!


[font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font]

Share this post


Link to post
Share on other sites
Jos

dejan/..ran.,

- Please do not double post questions?.

- Please remove the rather large animated image from your sig.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Dejan

sorry for this. i will never do it again. and i am going to remove the pic in sig now...


[font="Comic Sans MS"]In Barishon se dosti acchi nahin Faraz, Kaccha tera makan hai kucch to khayal Ker.[/font]

Share this post


Link to post
Share on other sites
Jos

sorry for this. i will never do it again. and i am going to remove the pic in sig now...

Thanks.

;) just wondering why you didn't ask about my posts first line... guess you understood what I meant.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×