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
3b8c977a
Commit
3b8c977a
authored
Jan 18, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Call appropriate functions in response to toolbar icons.
parent
44aa2072
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
4 deletions
+24
-4
iexplore.c
dlls/ieframe/iexplore.c
+20
-4
resource.h
dlls/ieframe/resource.h
+4
-0
No files found.
dlls/ieframe/iexplore.c
View file @
3b8c977a
...
...
@@ -461,10 +461,10 @@ static void create_rebar(HWND hwnd)
SendMessageW
(
hwndToolbar
,
TB_SETIMAGELIST
,
0
,
(
LPARAM
)
imagelist
);
SendMessageW
(
hwndToolbar
,
TB_BUTTONSTRUCTSIZE
,
sizeof
(
TBBUTTON
),
0
);
add_tb_button
(
hwndToolbar
,
0
,
0
,
IDS_TB_BACK
);
add_tb_button
(
hwndToolbar
,
1
,
0
,
IDS_TB_FORWARD
);
add_tb_button
(
hwndToolbar
,
2
,
0
,
IDS_TB_STOP
);
add_tb_button
(
hwndToolbar
,
3
,
0
,
IDS_TB_REFRESH
);
add_tb_button
(
hwndToolbar
,
0
,
ID_BROWSE_BACK
,
IDS_TB_BACK
);
add_tb_button
(
hwndToolbar
,
1
,
ID_BROWSE_FORWARD
,
IDS_TB_FORWARD
);
add_tb_button
(
hwndToolbar
,
2
,
ID_BROWSE_STOP
,
IDS_TB_STOP
);
add_tb_button
(
hwndToolbar
,
3
,
ID_BROWSE_REFRESH
,
IDS_TB_REFRESH
);
add_tb_button
(
hwndToolbar
,
4
,
ID_BROWSE_HOME
,
IDS_TB_HOME
);
add_tb_separator
(
hwndToolbar
);
add_tb_button
(
hwndToolbar
,
5
,
ID_BROWSE_PRINT
,
IDS_TB_PRINT
);
...
...
@@ -594,6 +594,22 @@ static LRESULT iewnd_OnCommand(InternetExplorer *This, HWND hwnd, UINT msg, WPAR
IWebBrowser2_GoHome
(
&
This
->
IWebBrowser2_iface
);
break
;
case
ID_BROWSE_BACK
:
IWebBrowser2_GoBack
(
&
This
->
IWebBrowser2_iface
);
break
;
case
ID_BROWSE_FORWARD
:
IWebBrowser2_GoForward
(
&
This
->
IWebBrowser2_iface
);
break
;
case
ID_BROWSE_STOP
:
IWebBrowser2_Stop
(
&
This
->
IWebBrowser2_iface
);
break
;
case
ID_BROWSE_REFRESH
:
IWebBrowser2_Refresh
(
&
This
->
IWebBrowser2_iface
);
break
;
case
ID_BROWSE_ABOUT
:
ie_dialog_about
(
hwnd
);
break
;
...
...
dlls/ieframe/resource.h
View file @
3b8c977a
...
...
@@ -42,6 +42,10 @@
#define ID_BROWSE_ADDFAV 1200
#define ID_BROWSE_HOME 1201
#define ID_BROWSE_BACK 1202
#define ID_BROWSE_FORWARD 1203
#define ID_BROWSE_STOP 1204
#define ID_BROWSE_REFRESH 1205
#define ID_BROWSE_BAR_STD 1300
#define ID_BROWSE_BAR_ADDR 1301
...
...
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