Jump to content

GUICtrlCreateTab Question


Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

autoitxp

Hi! 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
Link to comment
Share on other sites

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
:)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...