Jump to content

(Solved) Hover over option?


Recommended Posts

Hello,

I would like to know if there is an option to make a picture appear when hovering over an control (Let's say a label).
I've been looking all over but couldn't find a thing about it:(

so possible, not possible? and if it's possible can someone give me some tips or a link?

 

Greetings

Edited by satanttin
Link to post
Share on other sites

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to post
Share on other sites

For the people that see this post and want to know what worked for me it's this link. (it's an UDF and it's very easy to use)

simple test script:

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include "GUICtrlOnHover.au3"

Opt("GUIOnEventMode", 1)

main()
Func main()
$Form1 = GUICreate("Form1", 615, 438, 192, 124)
$Label1 = GUICtrlCreateLabel("Label1", 85, 55, 36, 17)
_GUICtrl_OnHoverRegister($Label1, "test", "test2")
GUISetOnEvent($GUI_EVENT_CLOSE, "stop")
GUISetState(@SW_SHOW)
EndFunc

Func stop()
Exit
EndFunc

Func test($iCtrlID)
MsgBox(0,"test1","")
EndFunc

Func test2($iCtrlID)
MsgBox(0,"test2","")
EndFunc

While 1
    Sleep(50)
WEnd

 

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

    No registered users viewing this page.

×
×
  • Create New...