| 17 | } |
| 18 | |
| 19 | void CustomStatusBar::Initialize(AppWindow* appWindow) |
| 20 | { |
| 21 | m_appWindow = appWindow; |
| 22 | HWND mainWindow = m_appWindow->GetMainWindow(); |
| 23 | |
| 24 | int width = 600; |
| 25 | int height = 70; |
| 26 | int x = 50; |
| 27 | int y = 50; |
| 28 | |
| 29 | |
| 30 | m_statusBarWindow = CreateWindow( |
| 31 | L"Edit", L"", WS_CHILD | WS_BORDER | ES_READONLY, x, y, width, height, mainWindow, |
| 32 | nullptr, nullptr, 0); |
| 33 | |
| 34 | BringWindowToTop(m_statusBarWindow); |
| 35 | } |
| 36 | |
| 37 | void CustomStatusBar::Show(std::wstring value) |
| 38 | { |
nothing calls this directly
no test coverage detected