TheSaint Posted May 10, 2007 Share Posted May 10, 2007 Hi Scripters, Yes it had to happen sooner or later ... I need help! I've created a bitmap making program using AutoIt and Lazycat's dll. The problem is that when I use a jpeg as the GUI background instead of a color, I cannot get an overlaying label to be transparent, and show only its text. This would be a nice feature to have, as the program ultimately creates bitmaps from audio tracks for still shot bitmap replacements in VobBlanker, so that you can have text displayed for an audio dvd chapter (track) ... with the possibility of the background jpg or bmp being an album cover or band photo, etc. Any help or advice would be gratefully appreciated! Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Zedna Posted May 10, 2007 Share Posted May 10, 2007 Search is your friend Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
TheSaint Posted May 10, 2007 Author Share Posted May 10, 2007 Search is your friend Thanks Zedna I must have done something wrong in my search, I used "transparent label" without the quotes of course, and all I got was 4 pages - but none of the entries your link provides. Am I possibly searching the wrong part of the forum? Though I did select all of the forum.Anyway thanks a lot, I'll now go and do some reading! Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
TheSaint Posted May 10, 2007 Author Share Posted May 10, 2007 *SOLUTION* Don't use $WS_VISIBLE when creating the GUI.After perusing MHZ example with my code, the only difference I could pick, was that he had used $WS_POPUP, whereas I had used some regular commands such as clipsiblings, sysmenu, etc and what proved to be the problem $WS_VISIBLE.Maybe there should be a comment about this in the help file, as it just didn't occur to me without some sort of comparison to go by.Anyway thanks Zedna & MHZ. For those who want to know, the relevant code for the GUI isGUICtrlCreatePic($picture, 0, 0, 320, 240) GUICtrlSetState(Default, $GUI_DISABLE)and the labelGUICtrlSetBkColor(Default, $GUI_BKCOLOR_TRANSPARENT) GUICtrlSetColor(Default, 0xFFFFFF)obviously any variables, dimensions & color need to be modified to suit your own. Skeletor 1 Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Zedna Posted May 10, 2007 Share Posted May 10, 2007 Thanks Zedna I must have done something wrong in my search, I used "transparent label" without the quotes of course, and all I got was 4 pages - but none of the entries your link provides. Am I possibly searching the wrong part of the forum? Though I did select all of the forum. Anyway thanks a lot, I'll now go and do some reading! Clever search is to use +transparent +label phrase and use Search titles only option In search page is [Advanced Usage Help] - for help This advanced search options are known to very limited amount of forum readers though You must learn not only new Autoit syntax but also searching on Autoit forum to be absolutely Autoit ready Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
TheSaint Posted May 10, 2007 Author Share Posted May 10, 2007 Thanks again Zedna All I have to do now .... is remember all that! Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
iceberg Posted May 21, 2007 Share Posted May 21, 2007 Hi TheSaint, Thanks for the posting back the working codes. appreciate it. mouse not found....scroll any mouse to continue. Link to comment Share on other sites More sharing options...
Gif Posted May 21, 2007 Share Posted May 21, 2007 Clever search is to use +transparent +label phrase and use Search titles only option In search page is [Advanced Usage Help] - for help This advanced search options are known to very limited amount of forum readers though You must learn not only new Autoit syntax but also searching on Autoit forum to be absolutely Autoit ready search pro ! 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