edumanilha Posted February 25, 2020 Share Posted February 25, 2020 (edited) Hi guys... I made a child Gui and put my buttons inside, when I tried to define a pic (bmp), the script stopped working...When I return to a blank one everything works fine...GUICrtlSetTip is still there, but they do nothing when I click them...Any hint about what possibly wrong? $Form2 = _Metro_CreateGUI("", 570, 190, -1, -1,False,$Form1) GUISetState(@SW_SHOW, $Form2) GUICtrlCreatePic(@ScriptDir & "\Dados\Imagens\background.bmp",0,0,0,0) Nevermind...When I set the style, wich according the docs is optional...Everything works fine...Any thoughts about this? $Form2 = _Metro_CreateGUI("", 600, 190, -1, -1,False,$Form1) GUISetState(@SW_SHOW, $Form2) GUICtrlCreatePic(@ScriptDir & "\Dados\Imagens\background.bmp",0,0,0,0,$SS_WHITERECT) Edited February 26, 2020 by edumanilha solved 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