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
8a0f9898
Commit
8a0f9898
authored
May 12, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
May 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle WM_NCCALCSIZE in the tab control.
parent
1ae212a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
tab.c
dlls/comctl32/tab.c
+11
-1
No files found.
dlls/comctl32/tab.c
View file @
8a0f9898
...
...
@@ -2961,9 +2961,16 @@ TAB_Destroy (TAB_INFO *infoPtr)
return
0
;
}
static
LRESULT
TAB_NCCalcSize
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
{
if
(
!
wParam
)
return
0
;
return
WVR_ALIGNTOP
;
}
static
inline
LRESULT
TAB_SetItemExtra
(
TAB_INFO
*
infoPtr
,
INT
cbInfo
)
{
{
if
(
!
infoPtr
||
cbInfo
<=
0
)
return
FALSE
;
...
...
@@ -3143,6 +3150,9 @@ TAB_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
WM_NCHITTEST
:
return
TAB_NCHitTest
(
infoPtr
,
lParam
);
case
WM_NCCALCSIZE
:
return
TAB_NCCalcSize
(
hwnd
,
wParam
,
lParam
);
default:
if
(
uMsg
>=
WM_USER
&&
uMsg
<
WM_APP
)
WARN
(
"unknown msg %04x wp=%08x lp=%08lx
\n
"
,
...
...
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