Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
hw3d
Commits
a555aa8d
Commit
a555aa8d
authored
Feb 12, 2019
by
chili
Browse files
housekeeping: bring foreground Lclick client region
parent
6a82d758
Changes
1
Hide whitespace changes
Inline
Side-by-side
hw3d/Window.cpp
View file @
a555aa8d
...
...
@@ -238,6 +238,8 @@ LRESULT Window::HandleMsg( HWND hWnd,UINT msg,WPARAM wParam,LPARAM lParam ) noex
{
const
POINTS
pt
=
MAKEPOINTS
(
lParam
);
mouse
.
OnLeftPressed
(
pt
.
x
,
pt
.
y
);
// bring window to foreground on lclick client region
SetForegroundWindow
(
hWnd
);
break
;
}
case
WM_RBUTTONDOWN
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment