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
026a6ff2
Commit
026a6ff2
authored
Jun 10, 2021
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Jun 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notepad: Enable visual styles.
Signed-off-by:
Zhiyi Zhang
<
zzhang@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ed98e3b5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
1 deletion
+23
-1
Makefile.in
programs/notepad/Makefile.in
+1
-1
main.c
programs/notepad/main.c
+3
-0
notepad.manifest
programs/notepad/notepad.manifest
+16
-0
notepad.rc
programs/notepad/notepad.rc
+3
-0
No files found.
programs/notepad/Makefile.in
View file @
026a6ff2
MODULE
=
notepad.exe
IMPORTS
=
comdlg32 shell32 shlwapi user32 gdi32 advapi32
IMPORTS
=
comdlg32 shell32 shlwapi user32 gdi32 advapi32
comctl32
EXTRADLLFLAGS
=
-mwindows
-mno-cygwin
...
...
programs/notepad/main.c
View file @
026a6ff2
...
...
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <windows.h>
#include <commctrl.h>
#include <commdlg.h>
#include <shellapi.h>
#include <shlwapi.h>
...
...
@@ -750,6 +751,8 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
static
const
WCHAR
className
[]
=
{
'N'
,
'o'
,
't'
,
'e'
,
'p'
,
'a'
,
'd'
,
0
};
static
const
WCHAR
winName
[]
=
{
'N'
,
'o'
,
't'
,
'e'
,
'p'
,
'a'
,
'd'
,
0
};
InitCommonControls
();
aFINDMSGSTRING
=
RegisterWindowMessageW
(
FINDMSGSTRINGW
);
ZeroMemory
(
&
Globals
,
sizeof
(
Globals
));
...
...
programs/notepad/notepad.manifest
0 → 100644
View file @
026a6ff2
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
xmlns=
"urn:schemas-microsoft-com:asm.v1"
manifestVersion=
"1.0"
>
<assemblyIdentity
type=
"win32"
name=
"Wine.Notepad"
version=
"0.0.0.0"
/>
<dependency>
<dependentAssembly>
<assemblyIdentity
type=
"win32"
name=
"Microsoft.Windows.Common-Controls"
version=
"6.0.0.0"
processorArchitecture=
"*"
publicKeyToken=
"6595b64144ccf1df"
language=
"*"
/>
</dependentAssembly>
</dependency>
</assembly>
programs/notepad/notepad.rc
View file @
026a6ff2
...
...
@@ -149,5 +149,8 @@ ID_ACCEL ACCELERATORS
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: notepad.manifest */
1 RT_MANIFEST notepad.manifest
/* @makedep: notepad.ico */
IDI_NOTEPAD ICON "notepad.ico"
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