Jump to content
Sign in to follow this  
Doxie

Hide Close (X)

Recommended Posts

Doxie

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 :D


Were ever i lay my script is my home...

Share this post


Link to post
Share on other sites
Doxie

Also disable ALT+F4, if possible.


Were ever i lay my script is my home...

Share this post


Link to post
Share on other sites
Doxie

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...

Share this post


Link to post
Share on other sites
Doxie

Thanks guys... It really helped alot :D

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...

Share this post


Link to post
Share on other sites
Doxie

I found out how to do... Thanks anyway


Were ever i lay my script is my home...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×