Jump to content
Sign in to follow this  
adik2dmax666

How to underline text?

Recommended Posts

adik2dmax666

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
SmOke_N

Hit your "Alt" button :blink:


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.

Share this post


Link to post
Share on other sites
adik2dmax666

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
trancexx

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.