Open nmgwddj opened 2 years ago
((Button*)msg->pSender)->SetState(kControlStateNormal); ui::UiRect _rcWnd; ::SendMessage(m_hWnd, WM_PAINT, (LPARAM)&_rcWnd, (WPARAM)FALSE); ShowWindow(false);
在按钮隐藏前,先刷新一遍
Discussed in https://github.com/netease-im/NIM_Duilib_Framework/discussions/381