ieframe: Moved dialog resources to ieframe.

This commit is contained in:
Jacek Caban 2011-07-27 14:45:34 +02:00 committed by Alexandre Julliard
parent a2653310e3
commit 932cc2678c
22 changed files with 44 additions and 19 deletions

View File

@ -9,6 +9,24 @@ C_SRCS = \
urlhist.c
RC_SRCS = \
De.rc \
En.rc \
Es.rc \
Fr.rc \
He.rc \
It.rc \
Ja.rc \
Ko.rc \
Lt.rc \
Nl.rc \
Pl.rc \
Pt.rc \
Ro.rc \
Ru.rc \
Si.rc \
Sr.rc \
Sv.rc \
Uk.rc \
ieframe.rc
@MAKE_DLL_RULES@

25
dlls/ieframe/resource.h Normal file
View File

@ -0,0 +1,25 @@
/*
* Resource identifiers for ieframe.dll
*
* Copyright 2010 Alexander N. Sørnes <alex@thehandofagony.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winuser.h>
#define IDD_BROWSE_OPEN 1001
#define IDC_BROWSE_OPEN_URL 1002

View File

@ -23,24 +23,6 @@ C_SRCS = \
webbrowser.c
RC_SRCS = \
De.rc \
En.rc \
Es.rc \
Fr.rc \
He.rc \
It.rc \
Ja.rc \
Ko.rc \
Lt.rc \
Nl.rc \
Pl.rc \
Pt.rc \
Ro.rc \
Ru.rc \
Si.rc \
Sr.rc \
Sv.rc \
Uk.rc \
shdocvw.rc
PO_SRCS = shdocvw.rc

View File

@ -566,7 +566,7 @@ static LRESULT iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT msg, WPAR
switch(LOWORD(wparam))
{
case ID_BROWSE_OPEN:
DialogBoxParamW(shdocvw_hinstance, MAKEINTRESOURCEW(IDD_BROWSE_OPEN), hwnd, ie_dialog_open_proc, (LPARAM)This);
DialogBoxParamW(get_ieframe_instance(), MAKEINTRESOURCEW(IDD_BROWSE_OPEN), hwnd, ie_dialog_open_proc, (LPARAM)This);
break;
case ID_BROWSE_PRINT: