Jump to content

Recommended Posts

Posted

Hi,

Hi its in the title iwould like to display another GUI or something where i can add labels and list view but without interfering with the first GUI which is managing hte program ending (with the windows arrow for exemple)

i try to set a second GuiGetMsg but all GUI get what the click :\

Splashtext isn't googd cause i would like to add graphics.

AnyIdea plz ?

Tx

  • Moderators
Posted

i doesn't work when i press the cwindows close eveything is closing

When you need help... it would make sense to provide the code your using so someone can tell you where you're making the mistakes at.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

When you need help... it would make sense to provide the code your using so someone can tell you where you're making the mistakes at.

Yes but here it is just a simple global compréhension, and i find how :whistle:

While 1
        ; HERE SPECIFY 1 TO GET DESCRIPTION OF THE EVENT (see GUIGetMsg help)
        $eventsGUI = GUIGetMsg(1)
        
        Select
            ;THEN YOU CAN PLAY WITH EVENTS
            Case $eventsGUI[0] = $GUI_EVENT_CLOSE
                If $eventsGUI[1] = $fenetrePrincipale Then
                    FileDelete($imageFond)
                    ExitLoop
                ElseIf $eventsGUI[1] = $fenetreRapport Then
                    GUIDelete($fenetreRapport)
                    GUISwitch($fenetrePrincipale)
                EndIf
....

Ty all

PS : i guess it is the simple way ?..

  • Moderators
Posted

Yes but here it is just a simple global compréhension, and i find how :whistle:

While 1
        ; HERE SPECIFY 1 TO GET DESCRIPTION OF THE EVENT (see GUIGetMsg help)
        $eventsGUI = GUIGetMsg(1)
        
        Select
            ;THEN YOU CAN PLAY WITH EVENTS
            Case $eventsGUI[0] = $GUI_EVENT_CLOSE
                If $eventsGUI[1] = $fenetrePrincipale Then
                    FileDelete($imageFond)
                    ExitLoop
                ElseIf $eventsGUI[1] = $fenetreRapport Then
                    GUIDelete($fenetreRapport)
                    GUISwitch($fenetrePrincipale)
                EndIf
....

Ty all

PS : i guess it is the simple way ?..

I was referring to the entire script, what does this show us that we are supposed to solve/help you're problem with?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
  • Recently Browsing   0 members

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