Doxie Posted June 28, 2004 Share Posted June 28, 2004 I would like to make a window and hide the X in the upper right corner. Is that possible? GuiCreate($ProgTitel, 370,145) That´s what i'm using today. I looked into the help file, and try to find a style for it, but with no luck Were ever i lay my script is my home... Link to comment Share on other sites More sharing options...
Doxie Posted June 28, 2004 Author Share Posted June 28, 2004 Also disable ALT+F4, if possible. Were ever i lay my script is my home... Link to comment Share on other sites More sharing options...
Administrators Jon Posted June 28, 2004 Administrators Share Posted June 28, 2004 GUICreate("Test", 400,280, 200, 200, $WS_CAPTION) Just do a GuiShow() when the box returns -3 (closed) to make it so that ALT-F4/ESC is ignored. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
CyberSlug Posted June 28, 2004 Share Posted June 28, 2004 this might help. scroll down to my last post Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
Doxie Posted June 29, 2004 Author Share Posted June 29, 2004 GUICreate("Test", 400,280, 200, 200, $WS_CAPTION)Just do a GuiShow() when the box returns -3 (closed) to make it so that ALT-F4/ESC is ignored.Thanks,The first part is working perfectly, i also checked CyberSlugs other examples, wich was really good.The second part, disable ALT+F4, is not really working. Or its me who does not get it correct.This is what i had before:GuiShow()This is what i made now:GuiShow(-3)And that does not seem to work, i can still use ALT+F4 to close. Were ever i lay my script is my home... Link to comment Share on other sites More sharing options...
Administrators Jon Posted June 29, 2004 Administrators Share Posted June 29, 2004 While 1 $msg = GuiMsg() Select Case $msg = -3 GuiShow() ... ... EndSelect Wend In other words, every time the Gui closes you just reopen it again. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Doxie Posted June 29, 2004 Author Share Posted June 29, 2004 Thanks guys... It really helped alot Now since you are so helpful, you might be able to give me command for: "On top" I need to program to be visible until click chose one of the buttons. Were ever i lay my script is my home... Link to comment Share on other sites More sharing options...
Doxie Posted June 29, 2004 Author Share Posted June 29, 2004 I found out how to do... Thanks anyway Were ever i lay my script is my home... 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