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
9a3647a3
Commit
9a3647a3
authored
Mar 13, 2004
by
Juan Lang
Committed by
Alexandre Julliard
Mar 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent negative coords for line, turn off redraw when initializing,
document one difference in native/builtin behavior.
parent
39689d71
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
propsheet.c
dlls/comctl32/propsheet.c
+6
-1
No files found.
dlls/comctl32/propsheet.c
View file @
9a3647a3
...
...
@@ -1175,7 +1175,7 @@ static PADDING_INFO PROPSHEET_GetPaddingInfoWizard(HWND hwndDlg, const PropSheet
hwndControl
=
GetDlgItem
(
hwndDlg
,
IDC_SUNKEN_LINE
);
GetWindowRect
(
hwndControl
,
&
rc
);
ptLine
.
x
=
0
;
ptLine
.
x
=
rc
.
left
;
ptLine
.
y
=
rc
.
bottom
;
ScreenToClient
(
hwndDlg
,
&
ptLine
);
...
...
@@ -1217,6 +1217,7 @@ static BOOL PROPSHEET_CreateTabControl(HWND hwndParent,
SendMessageW
(
hwndTabCtrl
,
TCM_SETIMAGELIST
,
0
,
(
LPARAM
)
psInfo
->
hImageList
);
}
SendMessageW
(
GetDlgItem
(
hwndTabCtrl
,
IDC_TABCONTROL
),
WM_SETREDRAW
,
0
,
0
);
for
(
i
=
0
;
i
<
nTabs
;
i
++
)
{
if
(
psInfo
->
proppage
[
i
].
hasIcon
)
...
...
@@ -1232,6 +1233,7 @@ static BOOL PROPSHEET_CreateTabControl(HWND hwndParent,
item
.
pszText
=
(
LPWSTR
)
psInfo
->
proppage
[
i
].
pszText
;
SendMessageW
(
hwndTabCtrl
,
TCM_INSERTITEMW
,
(
WPARAM
)
i
,
(
LPARAM
)
&
item
);
}
SendMessageW
(
GetDlgItem
(
hwndTabCtrl
,
IDC_TABCONTROL
),
WM_SETREDRAW
,
1
,
0
);
return
TRUE
;
}
...
...
@@ -2830,6 +2832,9 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
LPCPROPSHEETPAGEW
ppshpage
;
int
idx
;
/* Using PropSheetInfoStr to store extra data doesn't match the native
* common control: native uses TCM_[GS]ETITEM
*/
SetPropW
(
hwnd
,
PropSheetInfoStr
,
(
HANDLE
)
psInfo
);
/*
...
...
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