func init() { MustRegisterWindowClass(splitterWindowClass) splitterHandleDraggingBrush, _ = NewSolidColorBrush(Color(win.GetSysColor(win.COLOR_BTNSHADOW))) }
func (b *SystemColorBrush) logbrush() *win.LOGBRUSH { return &win.LOGBRUSH{ LbStyle: win.BS_SOLID, LbColor: win.COLORREF(win.GetSysColor(b.colorIndex)), } }
"fmt" "log" "math/big" "strconv" "strings" "syscall" "time" "unsafe" ) import ( "github.com/lxn/win" ) var ( defaultTVRowBGColor Color = Color(win.GetSysColor(win.COLOR_WINDOW)) white = win.COLORREF(RGB(255, 255, 255)) ) const ( tableViewCurrentIndexChangedTimerId = 1 + iota tableViewSelectedIndexesChangedTimerId ) // TableView is a model based widget for record centric, tabular data. // // TableView is implemented as a virtual mode list view to support quite large // amounts of data. type TableView struct { WidgetBase columns *TableViewColumnList