Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0ab7cfc5
Commit
0ab7cfc5
authored
Dec 31, 2005
by
Dan Kegel
Committed by
Alexandre Julliard
Dec 31, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commdlg: Let the color picker respond properly to keystrokes.
parent
7b4b4b79
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
colordlg.c
dlls/commdlg/colordlg.c
+5
-5
No files found.
dlls/commdlg/colordlg.c
View file @
0ab7cfc5
...
...
@@ -671,7 +671,7 @@ void CC_EditSetHSL( HWND hDlg, int h, int s, int l )
{
char
buffer
[
10
];
LCCPRIV
lpp
=
(
LCCPRIV
)
GetWindowLongPtrW
(
hDlg
,
DWLP_USER
);
lpp
->
updating
=
TRUE
;
if
(
IsWindowVisible
(
GetDlgItem
(
hDlg
,
0x2c6
)
))
/* if full size */
{
lpp
->
updating
=
TRUE
;
...
...
@@ -938,7 +938,7 @@ LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode,
COLORREF
*
cr
;
LCCPRIV
lpp
=
(
LCCPRIV
)
GetWindowLongPtrW
(
hDlg
,
DWLP_USER
);
TRACE
(
"CC_WMCommand wParam=%x lParam=%lx
\n
"
,
wParam
,
lParam
);
switch
(
wParam
)
switch
(
LOWORD
(
wParam
)
)
{
case
0x2c2
:
/* edit notify RGB */
case
0x2c3
:
...
...
@@ -950,7 +950,7 @@ LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode,
g
=
GetGValue
(
lpp
->
lpcc
->
rgbResult
);
b
=
GetBValue
(
lpp
->
lpcc
->
rgbResult
);
xx
=
0
;
switch
(
wParam
)
switch
(
LOWORD
(
wParam
)
)
{
case
0x2c2
:
if
((
xx
=
(
i
!=
r
)))
r
=
i
;
break
;
case
0x2c3
:
if
((
xx
=
(
i
!=
g
)))
g
=
i
;
break
;
...
...
@@ -975,9 +975,9 @@ LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode,
case
0x2c1
:
if
(
notifyCode
==
EN_UPDATE
&&
!
lpp
->
updating
)
{
i
=
CC_CheckDigitsInEdit
(
hwndCtl
,
wParam
==
0x2bf
?
239
:
240
);
i
=
CC_CheckDigitsInEdit
(
hwndCtl
,
LOWORD
(
wParam
)
==
0x2bf
?
239
:
240
);
xx
=
0
;
switch
(
wParam
)
switch
(
LOWORD
(
wParam
)
)
{
case
0x2bf
:
if
((
xx
=
(
i
!=
lpp
->
h
)))
lpp
->
h
=
i
;
break
;
case
0x2c0
:
if
((
xx
=
(
i
!=
lpp
->
s
)))
lpp
->
s
=
i
;
break
;
...
...
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