Sign in to follow this  
Followers 0
adik2dmax666

How to underline text?

4 posts in this topic

I tried

;--------------- Menu ----------------------;
Global $LANG_Menu_File  = "&File"
$FileMenu = GUICtrlCreateMenu($LANG_Menu_File)

but the GUI still displays "File" not "File"


First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]

Share this post


Link to post
Share on other sites



Hit your "Alt" button :blink:


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Is there a way to make it display with underline without pressing "alt".

Just like mozilla firefox, the file menu is like File and all menu items have

also underlined letters.

Edited by adik2dmax666

First learn computer science and all the theory. Next develop a programming style. Then forget all that and just hack. -George Carrette[sub]GD Keylogger Creator (never released)[/sub][sub]Garena Autojoin v3.0[/sub]

Share this post


Link to post
Share on other sites

That's system parameter. Depending on your system you could set it with right click on desktop->properties->appearance->effects->hide underl...blah

Or:

$SPI_SETKEYBOARDCUES = 0x100B

$aCall = DllCall("user32.dll", "bool", "SystemParametersInfo", _
        "dword", $SPI_SETKEYBOARDCUES, _
        "dword", 0, _
        "bool", 1, _ ; 1 to always underline access keys, or 0 to underline access keys only when activated from the keyboard
        "dword", 0)
; ...chech for errors here...

♡♡♡

.

eMyvnE

Share this post


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
Sign in to follow this  
Followers 0