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
03a6889e
Commit
03a6889e
authored
Aug 15, 1999
by
Thuy Nguyen
Committed by
Alexandre Julliard
Aug 15, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented the WM_SETICON and WM_GETICON messages.
parent
467845a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
winuser.h
include/winuser.h
+4
-0
defwnd.c
windows/defwnd.c
+18
-0
No files found.
include/winuser.h
View file @
03a6889e
...
...
@@ -938,6 +938,10 @@ typedef struct tagWINDOWPOS
#define WA_ACTIVE 1
#define WA_CLICKACTIVE 2
/* WM_GETICON/WM_SETICON params values */
#define ICON_SMALL 0
#define ICON_BIG 1
/* WM_NCCALCSIZE parameter structure */
typedef
struct
{
...
...
windows/defwnd.c
View file @
03a6889e
...
...
@@ -467,7 +467,25 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
case
WM_QUERYOPEN
:
case
WM_QUERYENDSESSION
:
return
1
;
case
WM_SETICON
:
case
WM_GETICON
:
{
LRESULT
result
=
0
;
int
index
=
GCL_HICON
;
if
(
wParam
==
ICON_SMALL
)
index
=
GCL_HICONSM
;
result
=
GetClassLongA
(
wndPtr
->
hwndSelf
,
index
);
if
(
msg
==
WM_SETICON
)
SetClassLongA
(
wndPtr
->
hwndSelf
,
index
,
lParam
);
return
result
;
}
}
return
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