MCPcopy Create free account
hub / github.com/apache/arrow / CreateCheckBox

Method CreateCheckBox

cpp/src/arrow/flight/sql/odbc/odbc_impl/ui/window.cc:156–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156std::unique_ptr<Window> Window::CreateCheckBox(int pos_x, int pos_y, int size_x,
157 int size_y, const wchar_t* title, int id,
158 bool state) {
159 std::unique_ptr<Window> child(new Window(this, L"Button", title));
160
161 child->Create(WS_CHILD | WS_VISIBLE | BS_CHECKBOX | WS_TABSTOP, pos_x, pos_y, size_x,
162 size_y, id);
163
164 child->SetChecked(state);
165
166 return child;
167}
168
169std::unique_ptr<Window> Window::CreateComboBox(int pos_x, int pos_y, int size_x,
170 int size_y, const wchar_t* title, int id) {

Callers

nothing calls this directly

Calls 2

SetCheckedMethod · 0.80
CreateMethod · 0.45

Tested by

no test coverage detected