Sign in to follow this  
Followers 0
DOTCOMmunications

OnEventMode and Image Buttons?

2 posts in this topic

Hi all

This is the first time i have used OnEventMode as i was having some problems using MessageLoop mode.

The problems i had previously were that the GUIGetMsg would return a call as though the last image i created with SS_NOTIFY attached to it had been clicked so it would run that option rather than wait for an image to be clicked.

So i thought i would try OnEventMode so i changed the code round to do that but now when i run the script it causes the program to crash at the first screen and i cant work out why other than something to do with the image buttons. I have attached the OnEventMode code in case that helps.

Is there any way to solve either of these problems, not bothered which one?

Thanks

Adam Mallinson

DOT-COMmunications

SetupMenuNEW.au3

Share this post


Link to post
Share on other sites



Never mind, found that i can do the MessageLoop mode using $BS_BITMAP for buttons instead, and with the sizes involved the BMPs are smaller than the JPGs anyway

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  
Followers 0