|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
WM_CUT
An application sends a WM_CUT message to an edit control or combo box to
delete (cut) the current selection, if any, in the edit control and copy the deleted
text to the clipboard in CF_TEXT format.
WM_CUT
wParam = 0; // not used; must be zero
lParam = 0; // not used; must be zero
Parameters
This message has no parameters.
Return Values
This message does not return a value.
Remarks
The deletion performed by the WM_CUT message can be undone by sending the edit
control an EM_UNDO message.
To delete the current selection without placing the deleted text on the
clipboard, use the WM_CLEAR message.
When sent to a combo box, the WM_CUT message is handled by its edit control.
This message has no effect when sent to a combo box with the CBS_DROPDOWNLIST
style.
See Also
EM_UNDO, WM_CLEAR, WM_COPY, WM_PASTE
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|