Jump to content

Recommended Posts

Posted

I want that a tooltip to be displayed when i pass with the mouse cursor over the Gui buttons, like usually software have. Can someone post an example of a gui with one button and a tooltip that show up when u put the mouse cursor over the button and dissapear if u move the cursor away.

thx

Doohoodogg

Posted

I want that a tooltip to be displayed when i pass with the mouse cursor over the Gui buttons, like usually software have. Can someone post an example of a gui with one button and a tooltip that show up when u put  the mouse cursor over the button and dissapear if u move the cursor away.

thx

Doohoodogg

<{POST_SNAPBACK}>

GUICtrlSetTip() (For additional info look the helpfile)
Posted

#include <GuiConstants.au3>

GuiCreate("MyGUI", 392, 323,(@DesktopWidth-392)/2, (@DesktopHeight-323)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)

$Button_1 = GuiCtrlCreateButton("Button1", 160, 170, 50, 50)
GUICtrlSetTip($Button_1,"Im a tip !")

GuiSetState()
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $Button_1


Case Else
    ;;;
    EndSelect
WEnd
Exit

HardCopy

Contributions: UDF _DateYearFirstChildren are like Farts, you can just about stand your own.Why am I not a Vegetarian?...Well...my ancestors didn't fight & evolve to the Top of the food chain for me to survive on Salad

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
  • Recently Browsing   0 members

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