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
e4f36895
Commit
e4f36895
authored
Sep 18, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
Sep 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: header: Remove the nOldWidth.
parent
bd7f9321
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
header.c
dlls/comctl32/header.c
+2
-7
No files found.
dlls/comctl32/header.c
View file @
e4f36895
...
...
@@ -84,7 +84,6 @@ typedef struct
INT
iMoveItem
;
/* index of tracked item. (Tracking mode) */
INT
xTrackOffset
;
/* distance between the right side of the tracked item and the cursor */
INT
xOldTrack
;
/* track offset (see above) after the last WM_MOUSEMOVE */
INT
nOldWidth
;
/* width of a sizing item after the last WM_MOUSEMOVE */
INT
iHotItem
;
/* index of hot item (cursor is over this item) */
INT
iHotDivider
;
/* index of the hot divider (used while dragging an item or by HDM_SETHOTDIVIDER) */
INT
iMargin
;
/* width of the margin that surrounds a bitmap */
...
...
@@ -1581,7 +1580,6 @@ HEADER_LButtonDown (HWND hwnd, WPARAM wParam, LPARAM lParam)
infoPtr
->
bCaptured
=
TRUE
;
infoPtr
->
bTracking
=
TRUE
;
infoPtr
->
iMoveItem
=
nItem
;
infoPtr
->
nOldWidth
=
iCurrWidth
;
infoPtr
->
xTrackOffset
=
infoPtr
->
items
[
nItem
].
rect
.
right
-
pt
.
x
;
if
(
!
(
dwStyle
&
HDS_FULLDRAG
))
{
...
...
@@ -1674,11 +1672,8 @@ HEADER_LButtonUp (HWND hwnd, WPARAM wParam, LPARAM lParam)
ReleaseDC
(
hwnd
,
hdc
);
}
if
(
HEADER_SendNotifyWithIntFieldT
(
hwnd
,
HDN_ITEMCHANGINGW
,
infoPtr
->
iMoveItem
,
HDI_WIDTH
,
iNewWidth
))
{
infoPtr
->
items
[
infoPtr
->
iMoveItem
].
cxy
=
infoPtr
->
nOldWidth
;
}
else
{
if
(
!
HEADER_SendNotifyWithIntFieldT
(
hwnd
,
HDN_ITEMCHANGINGW
,
infoPtr
->
iMoveItem
,
HDI_WIDTH
,
iNewWidth
))
{
infoPtr
->
items
[
infoPtr
->
iMoveItem
].
cxy
=
iNewWidth
;
HEADER_SendNotifyWithIntFieldT
(
hwnd
,
HDN_ITEMCHANGEDW
,
infoPtr
->
iMoveItem
,
HDI_WIDTH
,
iNewWidth
);
}
...
...
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