mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-06 01:19:44 +00:00
better focus
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@50 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -17,9 +17,11 @@ static LRESULT CALLBACK wndproc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp) {
|
||||
MwLLDispatch(u->ll, draw);
|
||||
EndPaint(hWnd, &ps);
|
||||
} else if(msg == WM_LBUTTONDOWN) {
|
||||
SetCapture(hWnd);
|
||||
MwLLDispatch(u->ll, down);
|
||||
InvalidateRect(hWnd, NULL, FALSE);
|
||||
} else if(msg == WM_LBUTTONUP) {
|
||||
SetCapture(NULL);
|
||||
MwLLDispatch(u->ll, up);
|
||||
InvalidateRect(hWnd, NULL, FALSE);
|
||||
} else if(msg == WM_ERASEBKGND) {
|
||||
|
||||
Reference in New Issue
Block a user