Getting dialog handle under cursor

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
mafiamoe
Junior Coder
Posts: 38
Joined: Thu Jul 06, 2006 8:28 am

Getting dialog handle under cursor

Post by mafiamoe » Sat Feb 23, 2008 10:00 am

Is there any way to get the handle of a dialog item underneath the cursor? Would be great to be able to show a small 'help' box that changes depending on where the user has their cursor.


Something like...

Label>Dialog1Repeat
GetCursorHandle>cHandle
If>cHandle=DIALOG1.DITEM1.HANDLE
Let>dialogHelp=Ya... I don't know what this is for either... :-D
EndIf
If>cHandle=DIALOG1.DITEM2.HANDLE
Let>dialogHelp=The developers were drunk when they made the help feature... *shrug*
EndIf
Goto>Dialog1Repeat

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts