Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
980eeecf
Commit
980eeecf
authored
Jan 05, 2001
by
François Gouget
Committed by
Alexandre Julliard
Jan 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
I triple checked but yes, CHOOSECOLOR.hInstance is an HWND...
parent
c583b685
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
commdlg.h
include/commdlg.h
+2
-2
cmdlgtst.c
programs/cmdlgtst/cmdlgtst.c
+1
-1
No files found.
include/commdlg.h
View file @
980eeecf
...
...
@@ -123,7 +123,7 @@ typedef UINT CALLBACK (*LPCCHOOKPROC) (HWND, UINT, WPARAM, LPARAM);
typedef
struct
{
DWORD
lStructSize
;
HWND
hwndOwner
;
HWND
hInstance
;
HWND
hInstance
;
/* Should be an HINSTANCE but MS made a typo */
DWORD
rgbResult
;
LPDWORD
lpCustColors
;
DWORD
Flags
;
...
...
@@ -136,7 +136,7 @@ typedef CHOOSECOLORA *LPCHOOSECOLORA;
typedef
struct
{
DWORD
lStructSize
;
HWND
hwndOwner
;
HWND
hInstance
;
HWND
hInstance
;
/* Should be an HINSTANCE but MS made a typo */
DWORD
rgbResult
;
LPDWORD
lpCustColors
;
DWORD
Flags
;
...
...
programs/cmdlgtst/cmdlgtst.c
View file @
980eeecf
...
...
@@ -152,7 +152,7 @@ void mwi_Color(HWND hWnd)
cc
.
lStructSize
=
sizeof
(
CHOOSECOLOR
);
cc
.
hwndOwner
=
hWnd
;
cc
.
hInstance
=
g_hInstance
;
cc
.
hInstance
=
(
HWND
)
g_hInstance
;
/* Should be an HINSTANCE but MS made a typo */
cc
.
rgbResult
=
RGB
(
0
,
0
,
0
);
cc
.
lpCustColors
=
cc_cr
;
cc
.
Flags
=
0
;
...
...
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