[IEFRAME] Add some icons to dialogs. Load inetcpl when clicking on Properties. Brought to you by Jared with slight changes by me. CORE-9372

svn path=/trunk/; revision=66795
This commit is contained in:
Amine Khaldi 2015-03-19 10:28:41 +00:00
parent e6ce05a90f
commit 7b4744416c
5 changed files with 24 additions and 1 deletions

View file

@ -92,6 +92,9 @@ FONT 8, "MS Shell Dlg"
{
LTEXT "Specify the URL you wish to open in Internet Explorer",-1, 35,5,160,25
LTEXT "Open:", -1, 5, 32, 30, 15
#ifdef __REACTOS__
ICON IDC_PAGEICO, IDC_PAGEICO, 2, 5, 21, 20, SS_ICON
#endif
EDITTEXT IDC_BROWSE_OPEN_URL, 35, 30, 160, 13
DEFPUSHBUTTON "OK", IDOK, 90, 50, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 145, 50, 50, 14
@ -110,7 +113,11 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#include <wine/wine_common_ver.rc>
/* @makedep: ietoolbar.bmp */
IDB_IETOOLBAR BITMAP ietoolbar.bmp
IDB_IETOOLBAR BITMAP resources/ietoolbar.bmp
#ifdef __REACTOS__
IDC_PAGEICO ICON "resources/pages.ico"
#endif
/* @makedep: ieframe.rgs */
1 WINE_REGISTRY ieframe.rgs

View file

@ -382,6 +382,13 @@ static void ie_dialog_about(HWND hwnd)
DestroyIcon(icon);
}
#ifdef __REACTOS__
static void ie_dialog_properties(HWND hwnd)
{
ShellExecute(hwnd, TEXT("open"), TEXT("rundll32.exe"), TEXT("shell32.dll, Control_RunDLL inetcpl.cpl"), NULL, SW_SHOWNORMAL);
}
#endif
static void add_tb_separator(HWND hwnd)
{
TBBUTTON btn;
@ -606,6 +613,12 @@ static LRESULT iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT msg, WPAR
ie_dialog_about(hwnd);
break;
#ifdef __REACTOS__
case ID_BROWSE_PROPERTIES:
ie_dialog_properties(hwnd);
break;
#endif
case ID_BROWSE_QUIT:
ShowWindow(hwnd, SW_HIDE);
break;

View file

@ -62,6 +62,9 @@
#define IDS_ADDRESS 1106
#define IDB_IETOOLBAR 1400
#ifdef __REACTOS__
#define IDC_PAGEICO 1401
#endif
/* update status text in BINDSTATUS_* callback */
#define IDS_STATUSFMT_FIRST 4096

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB