Adding button removes slider border

Report problems with documented functionality
pneumatic
Posts: 150
Joined: 05 Dec 2016, 01:51

Adding button removes slider border

24 Mar 2018, 11:55

Not sure if this is a bug/feature of AHK or Windows, but it's unexpected behaviour.

Code: [Select all] [Download] GeSHi © Codebox Plus

Gui , New , +hwndHGUI
Gui , Add , Text , vText1, Slider1
Gui , Add , Slider, Buddy1Text1 x50 y10 w250
;Gui , Add , Button , x140 y60 w60 h23 , Button
Gui , Show , w320 h100
return


Adding a button to the GUI causes the slider to lose its focus indicator.

Otherwise the focus indicator has to be removed with PostMessage, 0x0128, 0x00010001, 0, , ahk_id %HGUI% ;UIS_SET << 16 | UISF_HIDEFOCUS

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 4 guests