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
94a6832b
Commit
94a6832b
authored
Nov 29, 2000
by
Andreas Mohr
Committed by
Alexandre Julliard
Nov 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WM_SETTEXT should return TRUE on success.
parent
fa940f59
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
combo.c
controls/combo.c
+1
-1
static.c
controls/static.c
+1
-0
defwnd.c
windows/defwnd.c
+3
-0
mdi.c
windows/mdi.c
+4
-4
No files found.
controls/combo.c
View file @
94a6832b
...
...
@@ -1887,7 +1887,7 @@ static inline LRESULT WINAPI ComboWndProc_locked( WND* pWnd, UINT message,
lphc
->
wState
&=
~
CBF_NOEDITNOTIFY
;
return
ret
;
}
else
return
CB_ERR
;
else
return
CB_ERR
;
case
WM_CUT
:
case
WM_PASTE
:
case
WM_COPY
:
...
...
controls/static.c
View file @
94a6832b
...
...
@@ -242,6 +242,7 @@ LRESULT WINAPI StaticWndProc( HWND hWnd, UINT uMsg, WPARAM wParam,
else
DEFWND_SetTextA
(
wndPtr
,
(
LPCSTR
)
lParam
);
InvalidateRect
(
hWnd
,
NULL
,
FALSE
);
lResult
=
1
;
/* success. FIXME: check text length */
break
;
case
WM_SETFONT
:
...
...
windows/defwnd.c
View file @
94a6832b
...
...
@@ -611,6 +611,7 @@ LRESULT WINAPI DefWindowProc16( HWND16 hwnd, UINT16 msg, WPARAM16 wParam,
DEFWND_SetTextA
(
wndPtr
,
(
LPCSTR
)
PTR_SEG_TO_LIN
(
lParam
)
);
if
(
(
wndPtr
->
dwStyle
&
WS_CAPTION
)
==
WS_CAPTION
)
NC_HandleNCPaint
(
hwnd
,
(
HRGN
)
1
);
result
=
1
;
/* success. FIXME: check text length */
break
;
default:
...
...
@@ -677,6 +678,7 @@ LRESULT WINAPI DefWindowProcA( HWND hwnd, UINT msg, WPARAM wParam,
DEFWND_SetTextA
(
wndPtr
,
(
LPCSTR
)
lParam
);
if
(
(
wndPtr
->
dwStyle
&
WS_CAPTION
)
==
WS_CAPTION
)
NC_HandleNCPaint
(
hwnd
,
(
HRGN
)
1
);
/* Repaint caption */
result
=
1
;
/* success. FIXME: check text length */
break
;
default:
...
...
@@ -733,6 +735,7 @@ LRESULT WINAPI DefWindowProcW(
DEFWND_SetTextW
(
wndPtr
,
(
LPCWSTR
)
lParam
);
if
(
(
wndPtr
->
dwStyle
&
WS_CAPTION
)
==
WS_CAPTION
)
NC_HandleNCPaint
(
hwnd
,
(
HRGN
)
1
);
/* Repaint caption */
result
=
1
;
/* success. FIXME: check text length */
break
;
default:
...
...
windows/mdi.c
View file @
94a6832b
...
...
@@ -1505,7 +1505,7 @@ LRESULT WINAPI DefFrameProc16( HWND16 hwnd, HWND16 hwndMDIClient,
WIN_ReleaseWndPtr
(
wndPtr
);
HeapFree
(
GetProcessHeap
(),
0
,
text
);
}
return
0
;
return
1
;
/* success. FIXME: check text length */
case
WM_SETFOCUS
:
SetFocus
(
hwndMDIClient
);
...
...
@@ -1662,7 +1662,7 @@ LRESULT WINAPI DefMDIChildProc16( HWND16 hwnd, UINT16 message,
if
(
ci
->
hwndChildMaximized
==
hwnd
)
MDI_UpdateFrameText
(
clientWnd
->
parent
,
ci
->
self
,
MDI_REPAINTFRAME
,
NULL
);
retvalue
=
0
;
retvalue
=
1
;
/* success. FIXME: check text length */
goto
END
;
case
WM_CLOSE
:
...
...
@@ -1862,7 +1862,7 @@ LRESULT WINAPI DefMDIChildProcA( HWND hwnd, UINT message,
if
(
ci
->
hwndChildMaximized
==
hwnd
)
MDI_UpdateFrameText
(
clientWnd
->
parent
,
ci
->
self
,
MDI_REPAINTFRAME
,
NULL
);
retvalue
=
0
;
retvalue
=
1
;
/* success. FIXME: check text length */
goto
END
;
case
WM_GETMINMAXINFO
:
...
...
@@ -1940,7 +1940,7 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
if
(
ci
->
hwndChildMaximized
==
hwnd
)
MDI_UpdateFrameText
(
clientWnd
->
parent
,
ci
->
self
,
MDI_REPAINTFRAME
,
NULL
);
retvalue
=
0
;
retvalue
=
1
;
/* success. FIXME: check text length */
goto
END
;
case
WM_GETMINMAXINFO
:
...
...
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