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
d0d8b5bf
Commit
d0d8b5bf
authored
Jan 16, 2004
by
Thomas Weidenmueller
Committed by
Alexandre Julliard
Jan 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented View|Split.
parent
8461c770
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
framewnd.c
programs/regedit/framewnd.c
+14
-0
No files found.
programs/regedit/framewnd.c
View file @
d0d8b5bf
...
...
@@ -518,6 +518,20 @@ static BOOL _CmdWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
case
ID_HELP_ABOUT
:
ShowAboutBox
(
hWnd
);
break
;
case
ID_VIEW_SPLIT
:
{
RECT
rt
;
POINT
pt
,
pts
;
GetClientRect
(
g_pChildWnd
->
hWnd
,
&
rt
);
pt
.
x
=
rt
.
left
+
g_pChildWnd
->
nSplitPos
;
pt
.
y
=
(
rt
.
bottom
/
2
);
pts
=
pt
;
if
(
ClientToScreen
(
g_pChildWnd
->
hWnd
,
&
pts
))
{
SetCursorPos
(
pts
.
x
,
pts
.
y
);
SetCursor
(
LoadCursor
(
0
,
IDC_SIZEWE
));
SendMessage
(
g_pChildWnd
->
hWnd
,
WM_LBUTTONDOWN
,
0
,
MAKELPARAM
(
pt
.
x
,
pt
.
y
));
}
return
TRUE
;
}
default:
result
=
FALSE
;
}
...
...
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