senthor Posted November 13, 2008 Share Posted November 13, 2008 (edited) 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: 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 November 13, 2008 by senthor FileListToArray UDFMy tools Link to comment Share on other sites More sharing options...
senthor Posted November 13, 2008 Author Share Posted November 13, 2008 nobody has any idea? Plz, it has to work properly! FileListToArray UDFMy tools Link to comment Share on other sites More sharing options...
senthor Posted November 14, 2008 Author Share Posted November 14, 2008 really nobody?? Then you can close... FileListToArray UDFMy tools Link to comment Share on other sites More sharing options...
jvanegmond Posted November 14, 2008 Share Posted November 14, 2008 really nobody??Then you can close...I just saw your thread.I've been seeing some obscure functionality in AutoIt with GUICtrlCreatePic about a year ago. Try setting the image's topleft pixel to something like 0xFF00FF and see if you still get this behavior. github.com/jvanegmond Link to comment Share on other sites More sharing options...
senthor Posted November 14, 2008 Author Share Posted November 14, 2008 I tried that already. Nothing changed. I made all pixels 1,1 0xFF00FF, but it didn't work. FileListToArray UDFMy tools Link to comment Share on other sites More sharing options...
jvanegmond Posted November 14, 2008 Share Posted November 14, 2008 I tried that already. Nothing changed.I made all pixels 1,1 0xFF00FF, but it didn't work.I'm willing to look at it in the next 2 ~ 3 hours. Give me a script ready-to-test, included with the image. github.com/jvanegmond Link to comment Share on other sites More sharing options...
senthor Posted November 14, 2008 Author Share Posted November 14, 2008 OK, that's a problem. Cause the program is actually 2993 lines. I copied only the gui to a new script, but the error doesn't occurs there. FileListToArray UDFMy tools Link to comment Share on other sites More sharing options...
jvanegmond Posted November 14, 2008 Share Posted November 14, 2008 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. github.com/jvanegmond Link to comment Share on other sites More sharing options...
senthor Posted November 14, 2008 Author Share Posted November 14, 2008 (edited) Everything clear now! I used a msstyle which caused the problem. Edited November 17, 2008 by senthor FileListToArray UDFMy tools Link to comment Share on other sites More sharing options...
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