+HWND\r
+ListView(HWND hwnd, lay_id parent, lay_scalar w, lay_scalar h, uint32_t contain, uint32_t behave)\r
+{\r
+ lay_id lId = lay_item(&_::ctx);\r
+ lay_insert(&_::ctx, parent, lId);\r
+ lay_set_size_xy(&_::ctx, lId, w, h);\r
+ lay_set_contain(&_::ctx, lId, contain);\r
+ lay_set_behave(&_::ctx, lId, behave);\r
+\r
+ HWND result = CreateWindowExA(0,\r
+ WC_LISTVIEWA,\r
+ "",\r
+ WS_VISIBLE | WS_CHILD | WS_BORDER | WS_VSCROLL,\r
+ 0, 0, 0, 0,\r
+ hwnd,\r
+ nullptr,\r
+ nullptr,\r
+ nullptr);\r
+ _::lIds[result] = lId;\r
+ return result;\r
+}\r
+\r