Révision | 28699 (tree) |
---|---|
l'heure | 2019-12-14 17:24:18 |
Auteur | stefankueng |
Ensure the child bar is repainted as well.
@@ -472,6 +472,11 @@ | ||
472 | 472 | |
473 | 473 | void CRepositoryBarCnr::DrawItem(LPDRAWITEMSTRUCT) |
474 | 474 | { |
475 | + // move the child control to ensure it's drawn | |
476 | + // if necessary | |
477 | + CRect rc; | |
478 | + GetClientRect(&rc); | |
479 | + m_pbarRepository->MoveWindow(48, 0, rc.Width(), rc.Height()); | |
475 | 480 | } |
476 | 481 | |
477 | 482 | UINT CRepositoryBarCnr::OnGetDlgCode() |