Jump to content

Error with creating pics in a gui


senthor
 Share

Recommended Posts

Hi everyone!

I'm currently developing the next version of an already-launched program called gli modmanager, but I've a problem.

I'm creating several pics in the gui, and the following failure happens:

Parts of a picture become transparent, even if the window is NOT WS_EX_LAYERED AND no picture is created where the top-left pixel has the color being replaced.

Here's a screenshot:

post-35032-1226602327_thumb.png

On the left, you can see the pic in paint, right in the script.

The colors being replaced are all about RGB 239,239,239 to 241,241,241.

I just don't get it why.

Plz help!

Thanks

EDIT: There's a grey background-image, so don't wonder about the strange color of the wrong area!

Edited by senthor
Link to comment
Share on other sites

I copied only the gui to a new script, but the error doesn't occurs there.

Well, I guess that is a good thing. You've already excluded the fact that bug might be in AutoIt.

Keep on going trying to copy things from the original script and see at what point the bug occurs, and you can have a pretty good idea of what line is causing the bug. :mellow:

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