Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vincent Wei
mgutils
Commits
8859c058
Commit
8859c058
authored
7 years ago
by
Vincent Wei
Browse files
Options
Download
Email Patches
Plain Diff
use LRESULT to save the result of SendMessage
parent
0e2535e1
master
dev-3-4
dev-4-1
rel-3-2
rel-4-0
rel-5-0
ver-5-0-11
ver-5-0-10
ver-5-0-9
ver-5-0-6
ver-5-0-3
ver-5-0-2
ver-5-0-0
ver-4-0-8
ver-4-0-7
ver-4-0-5
ver-4-0-4
ver-4-0-0
dev-4-9-1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/templates/colorpanel.h
+3
-3
src/templates/colorpanel.h
with
3 additions
and
3 deletions
+3
-3
src/templates/colorpanel.h
View file @
8859c058
...
...
@@ -53,9 +53,9 @@ BOOL RegisterColorPanel(void);
#define CP_GETSELCELL CP_MESSAGE + 6
#define CPGetSelCell(hwnd, prow, pcol) do{ \
int
sel = SendMessage(hwnd, CP_GETSELCELL, 0, 0); \
*(prow) = (int)(
short)(
LOWORD(sel)); \
*(pcol) = (int)(
short)(
HIWORD(sel)); \
LRESULT
sel = SendMessage(hwnd, CP_GETSELCELL, 0, 0); \
*(prow) = (int)(LOWORD(sel)); \
*(pcol) = (int)(HIWORD(sel)); \
}while(0)
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help