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
5591bc63
Commit
5591bc63
authored
Apr 01, 1999
by
Luc Tourangeau
Committed by
Alexandre Julliard
Apr 01, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented WM_NOTIFYFORMAT.
parent
9c6735e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
defdlg.c
windows/defdlg.c
+3
-0
defwnd.c
windows/defwnd.c
+4
-0
No files found.
windows/defdlg.c
View file @
5591bc63
...
...
@@ -227,6 +227,9 @@ static LRESULT DEFDLG_Proc( HWND hwnd, UINT msg, WPARAM wParam,
PostMessageA
(
hwnd
,
WM_COMMAND
,
IDCANCEL
,
(
LPARAM
)
GetDlgItem
(
hwnd
,
IDCANCEL
)
);
return
0
;
case
WM_NOTIFYFORMAT
:
return
DefWindowProcA
(
hwnd
,
msg
,
wParam
,
lParam
);
}
return
0
;
}
...
...
windows/defwnd.c
View file @
5591bc63
...
...
@@ -390,6 +390,10 @@ static LRESULT DEFWND_DefWinProc( WND *wndPtr, UINT msg, WPARAM wParam,
case
WM_ISACTIVEICON
:
return
((
wndPtr
->
flags
&
WIN_NCACTIVATED
)
!=
0
);
case
WM_NOTIFYFORMAT
:
if
(
IsWindowUnicode
(
wndPtr
->
hwndSelf
))
return
NFR_UNICODE
;
else
return
NFR_ANSI
;
case
WM_QUERYOPEN
:
case
WM_QUERYENDSESSION
:
return
1
;
...
...
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