mirror of
https://github.com/quantum5/Zalgo.git
synced 2025-04-24 13:41:57 -04:00
Fixed non-painting on resize from top or left.
This commit is contained in:
parent
013e5fe476
commit
e9e0ba6262
|
@ -18,6 +18,7 @@ protected:
|
|||
LRESULT OnCreate();
|
||||
LRESULT OnDestroy();
|
||||
void OnPaint();
|
||||
BOOL WinRegisterClass(WNDCLASS *pwc);
|
||||
|
||||
virtual HICON GetIcon();
|
||||
|
||||
|
|
|
@ -75,6 +75,12 @@ LRESULT APIENTRY EditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lP
|
|||
wParam, lParam);
|
||||
}
|
||||
|
||||
BOOL MainWindow::WinRegisterClass(WNDCLASS *pwc)
|
||||
{
|
||||
pwc->style = CS_HREDRAW | CS_VREDRAW;
|
||||
return __super::WinRegisterClass(pwc);
|
||||
}
|
||||
|
||||
LRESULT MainWindow::OnCreate()
|
||||
{
|
||||
NONCLIENTMETRICS ncmMetrics = { sizeof(NONCLIENTMETRICS) };
|
||||
|
|
Loading…
Reference in a new issue