mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
- Add some German translations
- Add About-Dialog-Proc svn path=/trunk/; revision=44673
This commit is contained in:
parent
3d372532cc
commit
bd09226085
2 changed files with 30 additions and 13 deletions
|
@ -8,25 +8,25 @@ END
|
|||
|
||||
IDD_ABOUTBOX DIALOGEX 0, 0, 196, 75
|
||||
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
||||
CAPTION "Information zu reactOS_sndrec32"
|
||||
CAPTION "Information zum Audiorecorder"
|
||||
FONT 8, "MS Shell Dlg", 0, 0, 0x1
|
||||
BEGIN
|
||||
ICON 128,IDC_REACTOS_SNDREC32,19,14,21,20
|
||||
LTEXT "reactOS_sndrec32, Version 1.0",IDC_STATIC,56,16,114,8,SS_NOPREFIX
|
||||
LTEXT "Copyright (C) 2009",IDC_STATIC,55,25,114,8
|
||||
LTEXT "ReactOS Audiorecorder, Version 1.0",IDC_STATIC,16,16,134,8,SS_NOPREFIX
|
||||
LTEXT "Copyright (C) 2009",IDC_STATIC,16,25,134,8
|
||||
DEFPUSHBUTTON "OK",IDOK,139,54,50,14,WS_GROUP
|
||||
END
|
||||
|
||||
IDR_MENU1 MENU
|
||||
BEGIN
|
||||
POPUP "File"
|
||||
POPUP "Datei"
|
||||
BEGIN
|
||||
MENUITEM "Neu", ID_NEW
|
||||
MENUITEM "Öffnen...", ID_FILE_OPEN
|
||||
MENUITEM "Speichern", ID_FILE_SAVE, GRAYED
|
||||
MENUITEM "Speichern Unter...", ID_FILE_SAVEAS, GRAYED
|
||||
MENUITEM "Öffnen...", ID_FILE_OPEN
|
||||
MENUITEM "Speichern", ID_FILE_SAVE, GRAYED
|
||||
MENUITEM "Speichern unter...", ID_FILE_SAVEAS, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Beenden", ID_EXIT
|
||||
MENUITEM "Beenden", ID_EXIT
|
||||
END
|
||||
MENUITEM "todo1", 0
|
||||
MENUITEM "todo2", 0
|
||||
|
@ -38,6 +38,6 @@ END
|
|||
|
||||
STRINGTABLE
|
||||
BEGIN
|
||||
IDS_APP_TITLE "reactOS_sndrec32"
|
||||
IDS_APP_TITLE "Audiorecorder"
|
||||
IDC_REACTOS_SNDREC32 "REACTOS_SNDREC32"
|
||||
END
|
||||
|
|
|
@ -29,7 +29,6 @@ BOOL InitInstance( HINSTANCE, int );
|
|||
BOOL InitInstance_wave( HWND, HINSTANCE, int );
|
||||
LRESULT CALLBACK WndProc( HWND, UINT, WPARAM, LPARAM );
|
||||
LRESULT CALLBACK WndProc_wave( HWND, UINT, WPARAM, LPARAM );
|
||||
INT_PTR CALLBACK About( HWND, UINT, WPARAM, LPARAM );
|
||||
|
||||
BOOL win_first, wout_first;
|
||||
|
||||
|
@ -82,6 +81,24 @@ RECT text2_rect;
|
|||
RECT cli;
|
||||
|
||||
|
||||
INT_PTR CALLBACK AboutDlgProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM lp)
|
||||
{
|
||||
switch (msg)
|
||||
{
|
||||
case WM_COMMAND:
|
||||
switch (LOWORD(wp))
|
||||
{
|
||||
case IDOK:
|
||||
EndDialog(hWnd, 0);
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
case WM_CLOSE:
|
||||
EndDialog(hWnd, 0);
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -292,7 +309,7 @@ MyRegisterClass( HINSTANCE hInstance )
|
|||
wcex.hInstance = hInstance;
|
||||
wcex.hIcon = LoadIcon( hInstance, MAKEINTRESOURCE( IDI_SNDREC32 ));
|
||||
wcex.hCursor = LoadCursor( NULL, IDC_ARROW );
|
||||
wcex.hbrBackground = (HBRUSH)( 16 );
|
||||
wcex.hbrBackground = GetSysColorBrush(COLOR_BTNFACE);
|
||||
wcex.lpszMenuName = MAKEINTRESOURCE( IDR_MENU1 );
|
||||
wcex.lpszClassName = szWindowClass;
|
||||
wcex.hIconSm = LoadIcon( wcex.hInstance, MAKEINTRESOURCE( IDI_SNDREC32 ));
|
||||
|
@ -797,8 +814,8 @@ WndProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam )
|
|||
|
||||
case ID__ABOUT:
|
||||
|
||||
|
||||
|
||||
DialogBox(hInst, MAKEINTRESOURCE(IDD_ABOUTBOX), hWnd, AboutDlgProc);
|
||||
return TRUE;
|
||||
break;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue