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
8fe19fa7
Commit
8fe19fa7
authored
Feb 26, 2002
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Feb 26, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement EM_FMTLINES message based on relay trace of native.
parent
f0f2c2fa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
pager.c
dlls/comctl32/pager.c
+20
-0
No files found.
dlls/comctl32/pager.c
View file @
8fe19fa7
...
...
@@ -747,6 +747,23 @@ PAGER_Scroll(HWND hwnd, INT dir)
}
static
LRESULT
PAGER_FmtLines
(
HWND
hwnd
)
{
PAGER_INFO
*
infoPtr
=
PAGER_GetInfoPtr
(
hwnd
);
/* initiate NCCalcSize to resize client wnd and get size */
SetWindowPos
(
hwnd
,
0
,
0
,
0
,
0
,
0
,
SWP_FRAMECHANGED
|
SWP_NOSIZE
|
SWP_NOMOVE
|
SWP_NOZORDER
|
SWP_NOACTIVATE
);
SetWindowPos
(
infoPtr
->
hwndChild
,
0
,
0
,
0
,
infoPtr
->
nWidth
,
infoPtr
->
nHeight
,
0
);
return
DefWindowProcA
(
hwnd
,
EM_FMTLINES
,
0
,
0
);
}
static
LRESULT
PAGER_Create
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
{
PAGER_INFO
*
infoPtr
;
...
...
@@ -1234,6 +1251,9 @@ PAGER_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
switch
(
uMsg
)
{
case
EM_FMTLINES
:
return
PAGER_FmtLines
(
hwnd
);
case
PGM_FORWARDMOUSE
:
return
PAGER_ForwardMouse
(
hwnd
,
wParam
);
...
...
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