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
e2e20662
Commit
e2e20662
authored
Feb 27, 2008
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Feb 28, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Always use RB_GETBARHEIGHT.
parent
23b0085a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
wordpad.c
programs/wordpad/wordpad.c
+1
-8
No files found.
programs/wordpad/wordpad.c
View file @
e2e20662
...
...
@@ -2269,7 +2269,6 @@ static LRESULT OnSize( HWND hWnd, WPARAM wParam, LPARAM lParam )
HWND
hwndReBar
=
GetDlgItem
(
hWnd
,
IDC_REBAR
);
HWND
hRulerWnd
=
GetDlgItem
(
hWnd
,
IDC_RULER
);
int
rebarHeight
=
0
;
int
rebarRows
=
2
;
if
(
hwndStatusBar
)
{
...
...
@@ -2285,13 +2284,7 @@ static LRESULT OnSize( HWND hWnd, WPARAM wParam, LPARAM lParam )
}
if
(
hwndReBar
)
{
if
(
!
is_bar_visible
(
BANDID_TOOLBAR
))
rebarRows
--
;
if
(
!
is_bar_visible
(
BANDID_FORMATBAR
))
rebarRows
--
;
rebarHeight
=
rebarRows
?
SendMessageW
(
hwndReBar
,
RB_GETBARHEIGHT
,
0
,
0
)
:
0
;
rebarHeight
=
SendMessageW
(
hwndReBar
,
RB_GETBARHEIGHT
,
0
,
0
);
MoveWindow
(
hwndReBar
,
0
,
0
,
LOWORD
(
lParam
),
rebarHeight
,
TRUE
);
}
...
...
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