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
9e1e80a3
Commit
9e1e80a3
authored
Feb 20, 2008
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Feb 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Move the TypeLib open dialog filter message into a resource.
parent
c610afe7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
7 deletions
+10
-7
De.rc
programs/oleview/De.rc
+1
-0
En.rc
programs/oleview/En.rc
+1
-0
Fr.rc
programs/oleview/Fr.rc
+1
-0
Ko.rc
programs/oleview/Ko.rc
+1
-0
Nl.rc
programs/oleview/Nl.rc
+1
-0
No.rc
programs/oleview/No.rc
+1
-0
Pl.rc
programs/oleview/Pl.rc
+1
-0
oleview.c
programs/oleview/oleview.c
+2
-7
resource.h
programs/oleview/resource.h
+1
-0
No files found.
programs/oleview/De.rc
View file @
9e1e80a3
...
@@ -96,6 +96,7 @@ STRINGTABLE
...
@@ -96,6 +96,7 @@ STRINGTABLE
IDS_ABOUTVER "Version 1.0"
IDS_ABOUTVER "Version 1.0"
IDS_TYPELIBTITLE "ITypeLib-Betrachter"
IDS_TYPELIBTITLE "ITypeLib-Betrachter"
IDS_OPEN "ffnen"
IDS_OPEN "ffnen"
IDS_OPEN_TYPELIB_FILTER "TypeLib Files (*.tlb;*.olb;*.dll;*.ocx;*.exe)\0*.tlb;*.olb;*.dll;*.ocx;*.exe\0All Files (*.*)\0*.*\0\0"
IDM_BIND, "An Datei via Datei-Moniker binden"
IDM_BIND, "An Datei via Datei-Moniker binden"
IDM_TYPELIB, "TypeLib-Datei ffnen und Inhalt betrachten"
IDM_TYPELIB, "TypeLib-Datei ffnen und Inhalt betrachten"
...
...
programs/oleview/En.rc
View file @
9e1e80a3
...
@@ -96,6 +96,7 @@ STRINGTABLE
...
@@ -96,6 +96,7 @@ STRINGTABLE
IDS_ABOUTVER "version 1.0"
IDS_ABOUTVER "version 1.0"
IDS_TYPELIBTITLE "ITypeLib viewer"
IDS_TYPELIBTITLE "ITypeLib viewer"
IDS_OPEN "Open"
IDS_OPEN "Open"
IDS_OPEN_TYPELIB_FILTER "TypeLib Files (*.tlb;*.olb;*.dll;*.ocx;*.exe)\0*.tlb;*.olb;*.dll;*.ocx;*.exe\0All Files (*.*)\0*.*\0\0"
IDM_BIND, "Bind to file via a File Moniker"
IDM_BIND, "Bind to file via a File Moniker"
IDM_TYPELIB, "Open a TypeLib file and view the contents"
IDM_TYPELIB, "Open a TypeLib file and view the contents"
...
...
programs/oleview/Fr.rc
View file @
9e1e80a3
...
@@ -96,6 +96,7 @@ STRINGTABLE
...
@@ -96,6 +96,7 @@ STRINGTABLE
IDS_ABOUTVER "version 1.0"
IDS_ABOUTVER "version 1.0"
IDS_TYPELIBTITLE "Visionneur d'ITypeLib"
IDS_TYPELIBTITLE "Visionneur d'ITypeLib"
IDS_OPEN "Ouvrir"
IDS_OPEN "Ouvrir"
IDS_OPEN_TYPELIB_FILTER "TypeLib Files (*.tlb;*.olb;*.dll;*.ocx;*.exe)\0*.tlb;*.olb;*.dll;*.ocx;*.exe\0All Files (*.*)\0*.*\0\0"
IDM_BIND, "Lie un fichier l'aide d'un File Moniker"
IDM_BIND, "Lie un fichier l'aide d'un File Moniker"
IDM_TYPELIB, "Ouvre un fichier TypeLib et afficher son contenu"
IDM_TYPELIB, "Ouvre un fichier TypeLib et afficher son contenu"
...
...
programs/oleview/Ko.rc
View file @
9e1e80a3
...
@@ -98,6 +98,7 @@ STRINGTABLE
...
@@ -98,6 +98,7 @@ STRINGTABLE
IDS_ABOUTVER "버젼 1.0"
IDS_ABOUTVER "버젼 1.0"
IDS_TYPELIBTITLE "ITypeLib 뷰어"
IDS_TYPELIBTITLE "ITypeLib 뷰어"
IDS_OPEN "열기"
IDS_OPEN "열기"
IDS_OPEN_TYPELIB_FILTER "TypeLib Files (*.tlb;*.olb;*.dll;*.ocx;*.exe)\0*.tlb;*.olb;*.dll;*.ocx;*.exe\0All Files (*.*)\0*.*\0\0"
IDM_BIND, "파일 별명으로 파일 연결"
IDM_BIND, "파일 별명으로 파일 연결"
IDM_TYPELIB, "타입 라이브러리 파일을 열고 내용 보기"
IDM_TYPELIB, "타입 라이브러리 파일을 열고 내용 보기"
...
...
programs/oleview/Nl.rc
View file @
9e1e80a3
...
@@ -96,6 +96,7 @@ STRINGTABLE
...
@@ -96,6 +96,7 @@ STRINGTABLE
IDS_ABOUTVER "versie 1.0"
IDS_ABOUTVER "versie 1.0"
IDS_TYPELIBTITLE "ITypeLib Toner"
IDS_TYPELIBTITLE "ITypeLib Toner"
IDS_OPEN "Open"
IDS_OPEN "Open"
IDS_OPEN_TYPELIB_FILTER "TypeLib Files (*.tlb;*.olb;*.dll;*.ocx;*.exe)\0*.tlb;*.olb;*.dll;*.ocx;*.exe\0All Files (*.*)\0*.*\0\0"
IDM_BIND, "Verbind aan een bestand via een Bestandsbeschrijver (Moniker)"
IDM_BIND, "Verbind aan een bestand via een Bestandsbeschrijver (Moniker)"
IDM_TYPELIB, "Open een TypeLib bestand en bekijk de inhoud"
IDM_TYPELIB, "Open een TypeLib bestand en bekijk de inhoud"
...
...
programs/oleview/No.rc
View file @
9e1e80a3
...
@@ -96,6 +96,7 @@ STRINGTABLE
...
@@ -96,6 +96,7 @@ STRINGTABLE
IDS_ABOUTVER "versjon 1.0"
IDS_ABOUTVER "versjon 1.0"
IDS_TYPELIBTITLE "ITypeLib-viser"
IDS_TYPELIBTITLE "ITypeLib-viser"
IDS_OPEN "pne"
IDS_OPEN "pne"
IDS_OPEN_TYPELIB_FILTER "TypeLib Files (*.tlb;*.olb;*.dll;*.ocx;*.exe)\0*.tlb;*.olb;*.dll;*.ocx;*.exe\0All Files (*.*)\0*.*\0\0"
IDM_BIND, "Bind til fil via File Moniker"
IDM_BIND, "Bind til fil via File Moniker"
IDM_TYPELIB, "pne en TypeLib-fil og vis innholdet"
IDM_TYPELIB, "pne en TypeLib-fil og vis innholdet"
...
...
programs/oleview/Pl.rc
View file @
9e1e80a3
...
@@ -97,6 +97,7 @@ STRINGTABLE
...
@@ -97,6 +97,7 @@ STRINGTABLE
IDS_ABOUTVER "wersja 1.0"
IDS_ABOUTVER "wersja 1.0"
IDS_TYPELIBTITLE "Przegldarka ITypeLib"
IDS_TYPELIBTITLE "Przegldarka ITypeLib"
IDS_OPEN "Otwrz"
IDS_OPEN "Otwrz"
IDS_OPEN_TYPELIB_FILTER "Pliki TypeLib (*.tlb;*.olb;*.dll;*.ocx;*.exe)\0*.tlb;*.olb;*.dll;*.ocx;*.exe\0Wszystkie pliki (*.*)\0*.*\0\0"
IDM_BIND, "Dowi do pliku za pomoc obiektu File Moniker"
IDM_BIND, "Dowi do pliku za pomoc obiektu File Moniker"
IDM_TYPELIB, "Otwrz plik z biblioteki typw (TypeLib) i wywietl jego zawarto"
IDM_TYPELIB, "Otwrz plik z biblioteki typw (TypeLib) i wywietl jego zawarto"
...
...
programs/oleview/oleview.c
View file @
9e1e80a3
...
@@ -25,13 +25,6 @@ static WCHAR wszRegEdit[] = { 'r','e','g','e','d','i','t','.','e','x','e','\0' }
...
@@ -25,13 +25,6 @@ static WCHAR wszRegEdit[] = { 'r','e','g','e','d','i','t','.','e','x','e','\0' }
static
WCHAR
wszFormat
[]
=
{
'<'
,
'o'
,
'b'
,
'j'
,
'e'
,
'c'
,
't'
,
'\n'
,
' '
,
' '
,
' '
,
static
WCHAR
wszFormat
[]
=
{
'<'
,
'o'
,
'b'
,
'j'
,
'e'
,
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wParam
,
LPARAM
lParam
)
INT_PTR
CALLBACK
SysConfProc
(
HWND
hDlgWnd
,
UINT
uMsg
,
WPARAM
wParam
,
LPARAM
lParam
)
{
{
...
@@ -408,8 +401,10 @@ static int MenuCommand(WPARAM wParam, HWND hWnd)
...
@@ -408,8 +401,10 @@ static int MenuCommand(WPARAM wParam, HWND hWnd)
OPENFILENAME
ofn
;
OPENFILENAME
ofn
;
static
WCHAR
wszTitle
[
MAX_LOAD_STRING
];
static
WCHAR
wszTitle
[
MAX_LOAD_STRING
];
static
WCHAR
wszName
[
MAX_LOAD_STRING
];
static
WCHAR
wszName
[
MAX_LOAD_STRING
];
static
WCHAR
wszFilter
[
MAX_LOAD_STRING
];
LoadString
(
globals
.
hMainInst
,
IDS_OPEN
,
wszTitle
,
sizeof
(
wszTitle
));
LoadString
(
globals
.
hMainInst
,
IDS_OPEN
,
wszTitle
,
sizeof
(
wszTitle
));
LoadString
(
globals
.
hMainInst
,
IDS_OPEN_TYPELIB_FILTER
,
wszFilter
,
sizeof
(
wszFilter
));
InitOpenFileName
(
hWnd
,
&
ofn
,
wszFilter
,
wszTitle
,
wszName
);
InitOpenFileName
(
hWnd
,
&
ofn
,
wszFilter
,
wszTitle
,
wszName
);
if
(
GetOpenFileName
(
&
ofn
))
CreateTypeLibWindow
(
globals
.
hMainInst
,
wszName
);
if
(
GetOpenFileName
(
&
ofn
))
CreateTypeLibWindow
(
globals
.
hMainInst
,
wszName
);
break
;
break
;
...
...
programs/oleview/resource.h
View file @
9e1e80a3
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
#define IDS_ABOUTVER 21
#define IDS_ABOUTVER 21
#define IDS_OPEN 30
#define IDS_OPEN 30
#define IDS_OPEN_TYPELIB_FILTER 31
#define IDM_BIND 100
#define IDM_BIND 100
#define IDM_TYPELIB 101
#define IDM_TYPELIB 101
...
...
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