Jump to content

Tooltip Problem.


Recommended Posts

how can I make this into a list..it is displaying them one by one.

HotKeySet("{INSERT}", "Options")
Sleep(2000)
Func Options()
While 1
    Sleep(10)
    ToolTip("-----OPTIONS-----",0,0)
    ToolTip("PRESS f1 To begin",0,0)
    ToolTip("PRESS f2 To stop",0,0)
    ToolTip("PRESS f3 To autobuff",0,0)
    ToolTip("PRESS f4 To exit",0,0)
WEnd
EndFunc
Edited by gui529
Link to comment
Share on other sites

no Im looking for like....a tooltip box but i can make a list going down. like ---- OPTIONS----

1. DOES THIS

FOR ME

UNDERSTAND?

Like Authenticity said to start with just concatenate the strings.

$t = '-----OPTIONS-----' & @CR & 'Next line' & @CR & 'another line'
ToolTip($t,0,0)
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

You mean this?

#include <WindowsConstants.au3>
HotKeySet('^w', 'Show')
HotKeySet('{ESC}', '_EXIT')

Dim $hGUI = GUICreate('', 200, 20, Default, Default, $WS_POPUP, $WS_EX_TOOLWINDOW + $WS_EX_TOPMOST)
Dim $ComboBox = GUICtrlCreateCombo('', 0, 0, 200, 200)

While 1
    Sleep(20)
WEnd


Func _EXIT()
    Exit
EndFunc


Func Show()
        GUICtrlSetData($ComboBox, '')
    GUICtrlSetData($ComboBox, 'Line 1|Line 2|Line 3|Line 4', 'Line 1')
    GUISetState()
    
    While 1
        Local $Msg = GUIGetMsg()
        If $Msg = $ComboBox Then ExitLoop
        Sleep(20)
    WEnd
    
    GUISetState(@SW_HIDE)
EndFunc
Edited by Authenticity
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...