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
92642828
Commit
92642828
authored
Jun 30, 2008
by
Vladimir Pankratov
Committed by
Alexandre Julliard
Jul 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskmgr: Changed about form to standard shell32.
parent
cc85e241
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
31 deletions
+8
-31
about.c
programs/taskmgr/about.c
+8
-31
No files found.
programs/taskmgr/about.c
View file @
92642828
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include <windows.h>
#include <windows.h>
#include <commctrl.h>
#include <commctrl.h>
#include <stdlib.h>
#include <stdlib.h>
#include <shellapi.h>
#include <malloc.h>
#include <malloc.h>
#include <memory.h>
#include <memory.h>
#include <tchar.h>
#include <tchar.h>
...
@@ -31,38 +32,14 @@
...
@@ -31,38 +32,14 @@
#include "taskmgr.h"
#include "taskmgr.h"
static
INT_PTR
CALLBACK
AboutDialogWndProc
(
HWND
hDlg
,
UINT
message
,
WPARAM
wParam
,
LPARAM
lParam
)
{
HWND
hLicenseEditWnd
;
TCHAR
strLicense
[
0x1000
];
switch
(
message
)
{
case
WM_INITDIALOG
:
hLicenseEditWnd
=
GetDlgItem
(
hDlg
,
IDC_LICENSE_EDIT
);
LoadString
(
hInst
,
IDS_LICENSE
,
strLicense
,
0x1000
);
SetWindowText
(
hLicenseEditWnd
,
strLicense
);
return
TRUE
;
case
WM_COMMAND
:
if
((
LOWORD
(
wParam
)
==
IDOK
)
||
(
LOWORD
(
wParam
)
==
IDCANCEL
))
{
EndDialog
(
hDlg
,
LOWORD
(
wParam
));
return
TRUE
;
}
break
;
}
return
0
;
}
void
OnAbout
(
void
)
void
OnAbout
(
void
)
{
{
DialogBox
(
hInst
,
MAKEINTRESOURCE
(
IDD_ABOUTBOX
),
hMainWnd
,
AboutDialogWndProc
);
WCHAR
appname
[
256
];
WCHAR
copy
[]
=
{
'B'
,
'r'
,
'i'
,
'a'
,
'n'
,
' '
,
'P'
,
'a'
,
'l'
,
'm'
,
'e'
,
'r'
,
' '
,
'<'
,
'b'
,
'r'
,
'i'
,
'a'
,
'n'
,
'p'
,
'@'
,
'r'
,
'e'
,
'a'
,
'c'
,
't'
,
'o'
,
's'
,
'.'
,
'o'
,
'r'
,
'g'
,
'>'
,
0
};
LoadStringW
(
hInst
,
IDC_TASKMGR
,
appname
,
sizeof
(
appname
)
/
sizeof
(
WCHAR
)
);
ShellAboutW
(
hMainWnd
,
appname
,
copy
,
LoadImageA
(
hInst
,
(
LPSTR
)
IDI_TASKMANAGER
,
IMAGE_ICON
,
32
,
32
,
LR_SHARED
));
}
}
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