Can the corners of a text label be rounded?

Get help with using AutoHotkey and its commands and hotkeys
AHKStudent
Posts: 898
Joined: 05 May 2018, 12:23

Can the corners of a text label be rounded?

05 Nov 2019, 11:01

Code: Select all

#NoEnv
#SingleInstance Force
SetWorkingDir %A_ScriptDir%


Gui Add, Text, x50 y50 w87 h50 +Border Center, Text ; can these corners be rounded? 


Gui Show, w200 h250, Window
Return

GuiEscape:
GuiClose:
    ExitApp
User avatar
kczx3
Posts: 1166
Joined: 06 Oct 2015, 21:39

Re: Can the corners of a text label be rounded?

05 Nov 2019, 18:38

Probably have to draw it yourself. I don’t think WinSet would work.
User avatar
Delta Pythagorean
Posts: 567
Joined: 13 Feb 2017, 13:44
GitHub: DelPyth
Location: Somewhere in the US

Re: Can the corners of a text label be rounded?

07 Nov 2019, 05:58

Well, technically yes. But you'd have to use a library called GDIP+.
I recommend to look into it here.
Keep in mind, it's not the easiest thing to learn.

- [AHK].......: 1.1.33.02 Unicode 64-bit
- [OS].........: Windows 10.0.18362
- [GITHUB]...: github.com/DeltaPyth
- [PAYPAL]....: paypal.me/DelPyth
- [DISCORD]..: Delta#3324

Remember to use [code]CODE[/code] for your multi-line scripts.
Stay safe, stay inside, and remember to wash your hands for 20 seconds!

Return to “Ask For Help”

Who is online

Users browsing this forum: 3d1t0r, AHKStudent, Bing [Bot], Bodhi, boiler, davidjmorin, drewjbx1, evilmanimani, Google [Bot], keylo, mcl, mikeyww, roysubs, yyardim and 44 guests