| 420 | } |
| 421 | |
| 422 | void PluginManagerDialog::addBottomComponent(HWND hWnd, WINDOWINFO& wiDlg, UINT id) { |
| 423 | |
| 424 | POSITIONINFO *positionInfo; |
| 425 | // Logo |
| 426 | positionInfo = new POSITIONINFO(); |
| 427 | positionInfo->handle = ::GetDlgItem(hWnd, id); |
| 428 | WINDOWINFO wiCtl; |
| 429 | wiDlg.cbSize = sizeof(WINDOWINFO); |
| 430 | ::GetWindowInfo(positionInfo->handle, &wiCtl); |
| 431 | positionInfo->height = wiCtl.rcClient.bottom - wiCtl.rcClient.top; |
| 432 | positionInfo->width = wiCtl.rcClient.right - wiCtl.rcClient.left; |
| 433 | positionInfo->bottomOffset = wiDlg.rcClient.bottom - wiCtl.rcClient.top; |
| 434 | positionInfo->leftOffset = wiCtl.rcClient.left - wiDlg.rcClient.left; |
| 435 | _bottomComponents.push_back(std::shared_ptr<POSITIONINFO>(positionInfo)); |
| 436 | } |
| 437 | |
| 438 | INT_PTR CALLBACK PluginManagerDialog::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lParam) |
| 439 | { |
nothing calls this directly
no outgoing calls
no test coverage detected