Lope Posted April 25, 2010 Posted April 25, 2010 (edited) This works fine without the background image. ;background image that causes handles of buttons not to be received by GUIGetMsg() GUICtrlCreatePic("images\BackgroundImage.jpg",0,$height_insw-$height_ftrimg,$width_insw,$height_ftrimg) $h_exit=CreateNiceButton("Exit",$offsetx_mainbtn0,$offsety_mainbtn,$temp) $h_next=CreateNiceButton("Next",$offsetx_mainbtn1,$offsety_mainbtn,$h_nextlbl) While 1 switch GUIGetMsg() case $h_next etc Edited April 25, 2010 by Lope
Yoriz Posted April 25, 2010 Posted April 25, 2010 from the helpfile notes for GUICtrlCreatePic If a picture is set as a background picture, as the other controls will overlap, it's important to disable the pic control and create it after the others controls: GuiCtrlSetState(-1,$GUI_DISABLE). This is not enough for Tab or Listview control which behave differently. In this case you need to create the picture with the $WS_CLIPSIBLINGS style, GuiCtrlSetState(-1,$GUI_ONTOP) is necessary for the Tab, TreeView or Listview control. GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF.
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