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
35f21ac8
Commit
35f21ac8
authored
Jan 31, 2013
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Use int resource ID for toolbar image.
parent
142afabb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
iexplore.c
dlls/ieframe/iexplore.c
+1
-2
resource.h
dlls/ieframe/resource.h
+2
-0
No files found.
dlls/ieframe/iexplore.c
View file @
35f21ac8
...
...
@@ -439,7 +439,6 @@ static void create_rebar(HWND hwnd)
REBARBANDINFOW
bandinf
;
WCHAR
addr
[
40
];
HIMAGELIST
imagelist
;
WCHAR
idb_ietoolbar
[]
=
{
'I'
,
'D'
,
'B'
,
'_'
,
'I'
,
'E'
,
'T'
,
'O'
,
'O'
,
'L'
,
'B'
,
'A'
,
'R'
,
0
};
SIZE
toolbar_size
;
LoadStringW
(
ieframe_instance
,
IDS_ADDRESS
,
addr
,
sizeof
(
addr
)
/
sizeof
(
addr
[
0
]));
...
...
@@ -457,7 +456,7 @@ static void create_rebar(HWND hwnd)
hwndToolbar
=
CreateWindowExW
(
TBSTYLE_EX_MIXEDBUTTONS
,
TOOLBARCLASSNAMEW
,
NULL
,
TBSTYLE_FLAT
|
WS_CHILD
|
WS_VISIBLE
|
CCS_NORESIZE
,
0
,
0
,
0
,
0
,
hwndRebar
,
(
HMENU
)
IDC_BROWSE_TOOLBAR
,
ieframe_instance
,
NULL
);
imagelist
=
ImageList_LoadImageW
(
ieframe_instance
,
idb_ietoolbar
,
32
,
0
,
CLR_NONE
,
IMAGE_BITMAP
,
LR_CREATEDIBSECTION
);
imagelist
=
ImageList_LoadImageW
(
ieframe_instance
,
MAKEINTRESOURCEW
(
IDB_IETOOLBAR
)
,
32
,
0
,
CLR_NONE
,
IMAGE_BITMAP
,
LR_CREATEDIBSECTION
);
SendMessageW
(
hwndToolbar
,
TB_SETIMAGELIST
,
0
,
(
LPARAM
)
imagelist
);
SendMessageW
(
hwndToolbar
,
TB_BUTTONSTRUCTSIZE
,
sizeof
(
TBBUTTON
),
0
);
...
...
dlls/ieframe/resource.h
View file @
35f21ac8
...
...
@@ -62,6 +62,8 @@
#define IDS_ADDRESS 1106
#define IDB_IETOOLBAR 1400
/* update status text in BINDSTATUS_* callback */
#define IDS_STATUSFMT_FIRST 4096
#define IDS_FINDINGRESOURCE (IDS_STATUSFMT_FIRST + 1)
...
...
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