bggashnik Posted November 17, 2007 Posted November 17, 2007 what should be my GUICreate parameters to create GUI without minimize and maximize option,just with cancel option.Please help
BrettF Posted November 17, 2007 Posted November 17, 2007 #include <GUIConstants.au3> $Form1 = GUICreate("AForm1", 633, 447, 193, 115, BitOR($WS_SYSMENU, $WS_CAPTION, $WS_POPUPWINDOW, $WS_BORDER, $WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect WEnd Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Madza91 Posted November 18, 2007 Posted November 18, 2007 Or only: GUICreate("AForm1", 633, 447, 193, 115,$WS_SYSMENU) [quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)
dani Posted November 19, 2007 Posted November 19, 2007 Or only: GUICreate("AForm1", 633, 447, 193, 115,$WS_SYSMENU) Or the, imho MUCH smoother and prettier etc, "toolwindow": #include <GUIConstants.au3> GUICreate("AForm1", 633, 447, 193, 115, $WS_SYSMENU, $WS_EX_TOOLWINDOW) GUIsetstate() while 1 WEnd Just realize this won't show up in your taskbar and alt+tab menu this way.
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