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
90c25514
Commit
90c25514
authored
Aug 23, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Aug 23, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust the tab contents to fix the propsheet between PSM_KILLACTIVE
and PSM_SETACTIVE.
parent
1bd7986c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
propsheet.c
dlls/comctl32/propsheet.c
+12
-0
No files found.
dlls/comctl32/propsheet.c
View file @
90c25514
...
@@ -2040,6 +2040,8 @@ static BOOL PROPSHEET_CanSetCurSel(HWND hwndDlg)
...
@@ -2040,6 +2040,8 @@ static BOOL PROPSHEET_CanSetCurSel(HWND hwndDlg)
HWND
hwndPage
;
HWND
hwndPage
;
PSHNOTIFY
psn
;
PSHNOTIFY
psn
;
BOOL
res
=
FALSE
;
BOOL
res
=
FALSE
;
HWND
hwndTabControl
;
RECT
rect
;
TRACE
(
"active_page %d
\n
"
,
psInfo
->
active_page
);
TRACE
(
"active_page %d
\n
"
,
psInfo
->
active_page
);
if
(
!
psInfo
)
if
(
!
psInfo
)
...
@@ -2065,6 +2067,16 @@ static BOOL PROPSHEET_CanSetCurSel(HWND hwndDlg)
...
@@ -2065,6 +2067,16 @@ static BOOL PROPSHEET_CanSetCurSel(HWND hwndDlg)
res
=
!
SendMessageA
(
hwndPage
,
WM_NOTIFY
,
0
,
(
LPARAM
)
&
psn
);
res
=
!
SendMessageA
(
hwndPage
,
WM_NOTIFY
,
0
,
(
LPARAM
)
&
psn
);
/*
* Re-adjust the tab control's contents
*/
hwndTabControl
=
GetDlgItem
(
hwndDlg
,
IDC_TABCONTROL
);
memset
(
&
rect
,
0
,
sizeof
rect
);
GetClientRect
(
hwndTabControl
,
&
rect
);
SendMessageW
(
hwndTabControl
,
TCM_ADJUSTRECT
,
0
,
(
LPARAM
)
&
rect
);
SetWindowPos
(
hwndPage
,
NULL
,
rect
.
left
,
rect
.
top
,
rect
.
right
-
rect
.
left
,
rect
.
bottom
-
rect
.
top
,
0
);
end:
end:
TRACE
(
"<-- %d
\n
"
,
res
);
TRACE
(
"<-- %d
\n
"
,
res
);
return
res
;
return
res
;
...
...
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