Jump to content

How to underline text?


Recommended Posts

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]
Link to comment
Share on other sites

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]
Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

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