bold specific row of ListView

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Tomer
Posts: 282
Joined: 21 Aug 2016, 05:11

bold specific row of ListView

05 May 2019, 04:24

Hello,

is it possible to bold only a specific row of ListView and not the entire ListView ?

Thanks in advance

Code: Select all

Gui Font, Bold
Gui Add, ListView,, ListView
LV_Add("","line1")
LV_Add("","line2")
LV_Add("","line3")  ; make its text bold ONLY
LV_Add("","line4")

Gui Show, , 
Return

GuiEscape:
GuiClose:
    ExitApp
just me
Posts: 6510
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: bold specific row of ListView

05 May 2019, 05:16

It's not natively supported by AHK. You'd have to process NM_CUSTOMDRAW notifications and set the font manually.
User avatar
Tomer
Posts: 282
Joined: 21 Aug 2016, 05:11

Re: bold specific row of ListView

05 May 2019, 06:55

Good to know its unsupported by AHK so i I will not waste time for searching
No clue how to work with this code.

Thank you!

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, Bing [Bot], Henrik_Oe, hoppfrosch and 212 guests