autoitxp Posted March 26, 2008 Posted March 26, 2008 Hi i have little problem im using GUICtrlCreateTab with GUICtrlCreateInput fields but when i put $WS_MINIMIZEBOX + $ws_maximizebox in currrent Gui it resize on $ws_maximizebox how to set GUICtrlCreateInput to normal position level while using $ws_maximizebox GUICreate("My Gui", 800, 600 , -1 , -1 , $WS_MINIMIZEBOX + $ws_maximizebox ) Help!
Xenobiologist Posted March 26, 2008 Posted March 26, 2008 Hi i have little problem im using GUICtrlCreateTab with GUICtrlCreateInput fields but when i put $WS_MINIMIZEBOX + $ws_maximizebox in currrent Gui it resize on $ws_maximizebox how to set GUICtrlCreateInput to normal position level while using $ws_maximizebox GUICreate("My Gui", 800, 600 , -1 , -1 , $WS_MINIMIZEBOX + $ws_maximizebox ) Help! Hi, can you show a little example then we can test easily. Many of us are too lazy to build such things on our own. :-) Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
rasim Posted March 27, 2008 Posted March 27, 2008 autoitxpHi! You need this?#include <GuiConstants.au3> Opt("GuiResizeMode", $GUI_DOCKALL) $hGUI = GUICreate("Test GUI", 300, 200, -1, -1, BitOR($WS_MINIMIZEBOX, $WS_MAXIMIZEBOX, $WS_SIZEBOX)) $hTab = GUICtrlCreateTab(5, 5, 285, 160) $TabItem = GUICtrlCreateTabItem("TabItem") $hInput = GUICtrlCreateInput("", 50, 50, 200, 20) GUICtrlCreateTabItem("") GUISetState() Do Until GUIGetMsg() = -3
autoitxp Posted March 27, 2008 Author Posted March 27, 2008 (edited) Thanks and how to resize _GUICtrlStatusBar with gui Edited March 27, 2008 by autoitxp
rasim Posted March 28, 2008 Posted March 28, 2008 From help: #include <GuiConstants.au3> #include <GuiStatusBar.au3> Opt("GUIResizeMode", $GUI_DOCKALL) Global $aText[3] = ["status", "system", "open"] $hGUI = GUICreate("Test GUI", 300, 220, -1, -1, BitOR($WS_MINIMIZEBOX, $WS_MAXIMIZEBOX, $WS_SIZEBOX)) $hTab = GUICtrlCreateTab(5, 5, 285, 160) $TabItem = GUICtrlCreateTabItem("TabItem") $hInput = GUICtrlCreateInput("", 50, 50, 200, 20) GUICtrlCreateTabItem("") $hStatus = _GUICtrlStatusBar_Create($hGUI, 100, $aText) GUIRegisterMsg($WM_SIZE, "WM_SIZE") GUISetState() Do Until GUIGetMsg() = -3 Func WM_SIZE($hWnd, $iMsg, $wParam, $lParam) _GUICtrlStatusBar_Resize($hStatus) Return $GUI_RUNDEFMSG EndFunc ;==>WM_SIZE
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