| 105 | } |
| 106 | |
| 107 | std::unique_ptr<Window> Window::CreateList(int pos_x, int pos_y, int size_x, int size_y, |
| 108 | int id) { |
| 109 | std::unique_ptr<Window> child(new Window(this, WC_LISTVIEW, L"")); |
| 110 | |
| 111 | child->Create( |
| 112 | WS_CHILD | WS_VISIBLE | WS_BORDER | LVS_REPORT | LVS_EDITLABELS | WS_TABSTOP, pos_x, |
| 113 | pos_y, size_x, size_y, id); |
| 114 | |
| 115 | return child; |
| 116 | } |
| 117 | |
| 118 | std::unique_ptr<Window> Window::CreateGroupBox(int pos_x, int pos_y, int size_x, |
| 119 | int size_y, const wchar_t* title, int id) { |