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
2a6c1e49
Commit
2a6c1e49
authored
Sep 12, 2000
by
Chris Morgan
Committed by
Alexandre Julliard
Sep 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide the vertical scrollbar when listview style is LVS_LIST.
parent
9982a248
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
listview.c
dlls/comctl32/listview.c
+8
-7
No files found.
dlls/comctl32/listview.c
View file @
2a6c1e49
...
...
@@ -637,6 +637,7 @@ static VOID LISTVIEW_UpdateScroll(HWND hwnd)
scrollInfo
.
nPage
=
nCountPerRow
;
scrollInfo
.
fMask
=
SIF_RANGE
|
SIF_POS
|
SIF_PAGE
;
SetScrollInfo
(
hwnd
,
SB_HORZ
,
&
scrollInfo
,
TRUE
);
ShowScrollBar
(
hwnd
,
SB_VERT
,
FALSE
);
}
else
if
(
uView
==
LVS_REPORT
)
{
...
...
@@ -1692,7 +1693,7 @@ static BOOL LISTVIEW_ToggleSelection(HWND hwnd, INT nItem)
/***
* DESCRIPTION:
* Selects items based on view coord
dian
tes.
* Selects items based on view coord
ina
tes.
*
* PARAMETER(S):
* [I] HWND : window handle
...
...
@@ -2586,7 +2587,7 @@ static BOOL LISTVIEW_SetItem(HWND hwnd, LPLVITEMA lpLVItem)
if
(
nmlv
.
uNewState
&
LVIS_SELECTED
)
{
/*
* This is redund
e
nt if called through SetSelection
* This is redund
a
nt if called through SetSelection
*
* however is required if the used directly calls SetItem
* to set the selection.
...
...
@@ -2608,9 +2609,9 @@ static BOOL LISTVIEW_SetItem(HWND hwnd, LPLVITEMA lpLVItem)
{
/*
* This is a fun hoop to jump to try to catch if
* the user is calling us directly to call focus
e
or if
* the user is calling us directly to call focus or if
* this function is being called as a result of a
* SetItemFocus
e
call.
* SetItemFocus call.
*/
if
(
infoPtr
->
nFocusedItem
>=
0
)
LISTVIEW_SetItemFocus
(
hwnd
,
lpLVItem
->
iItem
);
...
...
@@ -2626,8 +2627,8 @@ static BOOL LISTVIEW_SetItem(HWND hwnd, LPLVITEMA lpLVItem)
/* copy information */
bResult
=
LISTVIEW_InitItem
(
hwnd
,
lpItem
,
lpLVItem
);
/* if LVS_LIST or LVS_SMALLICON, update the width of the items
based on */
/*
the width of the items text */
/* if LVS_LIST or LVS_SMALLICON, update the width of the items
based on
the width of the items text */
if
((
uView
==
LVS_LIST
)
||
(
uView
==
LVS_SMALLICON
))
{
item_width
=
LISTVIEW_GetStringWidthA
(
hwnd
,
lpItem
->
pszText
);
...
...
@@ -3537,7 +3538,7 @@ static VOID LISTVIEW_Refresh(HWND hwnd, HDC hdc)
/* select font */
hOldFont
=
SelectObject
(
hdc
,
infoPtr
->
hFont
);
/* select the doted pen (for drawing the focus box) */
/* select the dot
t
ed pen (for drawing the focus box) */
hPen
=
CreatePen
(
PS_DOT
,
1
,
0
);
hOldPen
=
SelectObject
(
hdc
,
hPen
);
...
...
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