AustrianOak Posted June 24, 2008 Posted June 24, 2008 I often run into the problem of when I create two windows I have to create a separate function for the second and it has to have a message loop for it right? So I end up creating another while loop separate from my first one. Well then I lose all the functionality for my first window until I exit the second windows loop. The only way I can think of fixing it is too copy the first while loop into the second so I can still handle the first windows messages. I know this must be completely 'unethical' and know there has to be a better way. How do I handle the messages for more than one window?
Moderators SmOke_N Posted June 24, 2008 Moderators Posted June 24, 2008 I often run into the problem of when I create two windows I have to create a separate function for the second and it has to have a message loop for it right? So I end up creating another while loop separate from my first one. Well then I lose all the functionality for my first window until I exit the second windows loop.The only way I can think of fixing it is too copy the first while loop into the second so I can still handle the first windows messages. I know this must be completely 'unethical' and know there has to be a better way.How do I handle the messages for more than one window?Make your life easier and use onevent functions. 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now