Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Info window for GUICtrlSetTip


  • Please log in to reply
No replies to this topic

#1 russell

russell

    Prodigy

  • Active Members
  • PipPipPip
  • 160 posts

Posted 21 August 2012 - 06:45 AM

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

Plain Text         
#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

muppet hands are so soft :)










0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users