lxn / walk

A Windows GUI toolkit for the Go Programming Language
Other
6.78k stars 886 forks source link

How to remove SBARS_SIZEGRIP from StatusBar #796

Open kayon opened 2 years ago

kayon commented 2 years ago
style := win.GetWindowLong(mw.StatusBar().Handle(), win.GWL_STYLE)
style &= ^win.SBARS_SIZEGRIP
win.SetWindowLong(mw.StatusBar().Handle(), win.GWL_STYLE, style)

It doesn't work. And there is no way to set MainWindow when it is created.