<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Jared,<br>
<br>
On 06/30/15 16:00, Jared Smudde wrote:<br>
</div>
<blockquote cite="mid:BAY180-W82F4918D189C988DC54661C6A90@phx.gbl"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre wrap="">When the user clicks on the properties menu in ieframe, launch inetcpl.cpl. </pre>
</div>
<br>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre wrap=""> dlls/ieframe/iexplore.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/dlls/ieframe/iexplore.c b/dlls/ieframe/iexplore.c
index 08bb167..c1d0d74 100644
--- a/dlls/ieframe/iexplore.c
+++ b/dlls/ieframe/iexplore.c
@@ -402,6 +402,11 @@ static void ie_dialog_about(HWND hwnd)
DestroyIcon(icon);
}
+static void ie_dialog_properties(HWND hwnd)
+{
+ ShellExecuteW(hwnd, NULL, L"inetcpl.cpl", NULL, NULL, 0);
+}</pre>
</div>
</blockquote>
<br>
I think that we should call inetcpl.cpl functions directly here
(probably LaunchInternetControlPanel). Also, you can't use L"" for
strings due to compatibility problems, see how other strings are
declared.<br>
<br>
<blockquote cite="mid:BAY180-W82F4918D189C988DC54661C6A90@phx.gbl"
type="cite">
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;"
lang="x-western">
<pre wrap="">
+
static void add_tb_separator(HWND hwnd)
{
TBBUTTON btn;
@@ -629,6 +634,10 @@ static LRESULT iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT msg, WPAR
case ID_BROWSE_QUIT:
ShowWindow(hwnd, SW_HIDE);
break;
+
+ case ID_BROWSE_PROPERTIES:
+ ie_dialog_properties(hwnd);
+ break;
</pre>
</div>
</blockquote>
<br>
Broken indention.<br>
<br>
Thanks,<br>
Jacek<br>
</body>
</html>