will88 Posted December 19, 2008 Share Posted December 19, 2008 (edited) I haven't done a whole lot with GUi's. I'm trying to make a GUI that's maximized and doesn't cover the toolbar. Edited December 19, 2008 by will88 Password-Keeper Link to comment Share on other sites More sharing options...
martin Posted December 19, 2008 Share Posted December 19, 2008 I haven't done a whole lot with GUi's. I'm trying to make a GUI that's maximized and doesn't cover the toolbar.Const $SPI_SETWORKAREA = 47,$SPI_GETWORKAREA = 48 $StartRect = DllStructCreate("int[4]") $PStartRect = DllStructGetPtr($StartRect) $res = DllCall("user32.dll","int","SystemParametersInfo","int",$SPI_GETWORKAREA,"int",0,"ptr",$PStartRect,"int",0) MsgBox(0,'work area starts at',DllStructGetData($StartRect,1,1) & ', ' & DllStructGetData($StartRect,1,2) & _ ' x ' & DllStructGetData($StartRect,1,3) & ', ' & DllStructGetData($StartRect,1,4)) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Marlo Posted December 19, 2008 Share Posted December 19, 2008 Code generated using Koda: Maxmize's the window whilst still showing thr task bar. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $winMain = GUICreate("Maximized Window", 413, 298, 247, 173, BitOR($WS_MAXIMIZEBOX,$WS_MINIMIZEBOX,$WS_SYSMENU,$WS_CAPTION,$WS_MAXIMIZE,$WS_POPUP,$WS_POPUPWINDOW,$WS_GROUP,$WS_TABSTOP,$WS_BORDER,$WS_CLIPSIBLINGS)) GUISetState(@SW_SHOW) Click here for the best AutoIt help possible.Currently Working on: Autoit RAT 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