Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
d272c276
Commit
d272c276
authored
Oct 24, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Oct 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Added CSS_NORESIZE style to toolbar window.
parent
deae923c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
iexplore.c
dlls/ieframe/iexplore.c
+7
-7
No files found.
dlls/ieframe/iexplore.c
View file @
d272c276
...
...
@@ -440,6 +440,7 @@ static void create_rebar(HWND hwnd)
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
]));
...
...
@@ -450,11 +451,10 @@ static void create_rebar(HWND hwnd)
rebarinf
.
cbSize
=
sizeof
(
rebarinf
);
rebarinf
.
fMask
=
0
;
rebarinf
.
himl
=
NULL
;
rebarinf
.
cbSize
=
sizeof
(
rebarinf
);
SendMessageW
(
hwndRebar
,
RB_SETBARINFO
,
0
,
(
LPARAM
)
&
rebarinf
);
hwndToolbar
=
CreateWindowExW
(
TBSTYLE_EX_MIXEDBUTTONS
,
TOOLBARCLASSNAMEW
,
NULL
,
TBSTYLE_FLAT
|
WS_CHILD
|
WS_VISIBLE
,
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
);
...
...
@@ -469,14 +469,13 @@ static void create_rebar(HWND hwnd)
add_tb_separator
(
hwndToolbar
);
add_tb_button
(
hwndToolbar
,
5
,
ID_BROWSE_PRINT
,
IDS_TB_PRINT
);
SendMessageW
(
hwndToolbar
,
TB_SETBUTTONSIZE
,
0
,
MAKELPARAM
(
55
,
50
));
SendMessageW
(
hwndToolbar
,
TB_
AUTOSIZE
,
0
,
0
);
SendMessageW
(
hwndToolbar
,
TB_
GETMAXSIZE
,
0
,
(
LPARAM
)
&
toolbar_size
);
bandinf
.
cbSize
=
sizeof
(
bandinf
);
bandinf
.
fMask
=
RBBIM_STYLE
|
RBBIM_CHILD
|
RBBIM_CHILDSIZE
|
RBBIM_SIZE
;
bandinf
.
fMask
=
RBBIM_STYLE
|
RBBIM_CHILD
|
RBBIM_CHILDSIZE
;
bandinf
.
fStyle
=
RBBS_CHILDEDGE
;
bandinf
.
cx
=
100
;
bandinf
.
cxMinChild
=
0
;
bandinf
.
cyMinChild
=
52
;
bandinf
.
cxMinChild
=
toolbar_size
.
cx
;
bandinf
.
cyMinChild
=
toolbar_size
.
cy
+
2
;
bandinf
.
hwndChild
=
hwndToolbar
;
SendMessageW
(
hwndRebar
,
RB_INSERTBANDW
,
-
1
,
(
LPARAM
)
&
bandinf
);
...
...
@@ -487,6 +486,7 @@ static void create_rebar(HWND hwnd)
bandinf
.
fMask
|=
RBBIM_TEXT
;
bandinf
.
fStyle
=
RBBS_CHILDEDGE
|
RBBS_BREAK
;
bandinf
.
lpText
=
addr
;
bandinf
.
cxMinChild
=
100
;
bandinf
.
cyMinChild
=
20
;
bandinf
.
hwndChild
=
hwndAddress
;
...
...
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