Sign in to follow this  
Followers 0

Info window for GUICtrlSetTip

1 post in this topic

Posted

I posted a basic script below, im trying to get the GUICtrlSetTip to instead of showing beside the mouse, show in the window labeled "Info Windows". Folks i'm stumped

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1_1 = GUICreate("My title", 460, 440, 189, 129)
GUISetCursor (2)
GUISetFont(8, 400, 0, "Mufferaw")
GUISetBkColor(0xA6CAF0)
$Group5 = GUICtrlCreateGroup("Customizable Safteys", 16, 0, 409, 145)
$field1 = GUICtrlCreateLabel("Field 1", 24, 24, 100, 18)
$input1 = GUICtrlCreateInput("55", 136, 16, 25, 22, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
GUICtrlSetTip(-1, "hint 1")
$field2 = GUICtrlCreateLabel("Field 2", 24, 48, 125, 18)
$input2 = GUICtrlCreateInput("55", 152, 40, 25, 22, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
GUICtrlSetTip(-1, "hint 2")
$field3 = GUICtrlCreateLabel("Field 3", 24, 72, 132, 18)
$input3 = GUICtrlCreateInput("15", 160, 72, 25, 22, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
GUICtrlSetTip(-1, "hint 3")
$field4 = GUICtrlCreateLabel("Field 4", 208, 16, 93, 18)
$input4 = GUICtrlCreateInput("15", 312, 16, 25, 22, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
GUICtrlSetTip(-1, "hint 4")
$field5 = GUICtrlCreateLabel("Field 5", 208, 48, 101, 18)
$input5 = GUICtrlCreateInput("600", 312, 48, 30, 22, BitOR($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
GUICtrlSetTip(-1, "input5")
$field6 = GUICtrlCreateLabel("Field 6", 208, 72, 103, 18)
$input6 = GUICtrlCreateInput("20", 320, 72, 25, 22, BitOR
($GUI_SS_DEFAULT_INPUT,$ES_NUMBER))
GUICtrlSetTip(-1, "input6")
GUICtrlCreateGroup("", -99, -99, 1, 1)
$InfoWindows = GUICtrlCreateGroup("Information Windows", 40, 152, 377, 241)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd

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




  • Recently Browsing   0 members

    No registered users viewing this page.