Sign in to follow this  
Followers 0
Vision

GUI Window, hide Minimize, Maximize and Close Button

3 posts in this topic

Hi,

How i can hide the tree buttons on a GUI (minimize, maximize and close/exit button) ??!?

i dont find it the help file from autoit

pls help :D

Share this post


Link to post
Share on other sites



Hi,

How i can hide the tree buttons on a GUI (minimize, maximize and close/exit button) ??!?

i dont find it the help file from autoit

pls help :P

Various effects are achieved with the STYLE and EXTENDED STYLE parameters (see the help file under GuiCreate). This example uses the $DS_MODALFRAME style:
#include <GuiConstants.au3>

$hGui = GUICreate("Test", 300, 200, Default, Default, $DS_MODALFRAME)
$Button = GUICtrlCreateButton("EXIT", 100, 130, 100, 30)
GUISetState()

Do
    Sleep(20)
Until GUIGetMsg() = $Button

:D


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Ya, use it

guicreate( "test" , 200 , 300 , default , default , $ws_popup+$ws_caption )

then the window will appear with no buttons in the right side... but you lose the icon so !

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  
Followers 0