• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 365
  • Last Modified:

Undo ?

Hi,
I know how to do copy/cut/paste.
How do you undo text editing in VB5?
0
GeorgeVT
Asked:
GeorgeVT
1 Solution
 
DalinCommented:
Try:

Const EM_UNDO = &HC7

Private Declare Fuction SendMessage lib "USER32" Alias "SendMessageA" (ByVal hwnd As Long, byVal wMsg As Long,  byVal wParam as Long, lParam as Long) as Long

Private sub Undo_Click()
  SendMessage Text1.hwnd, EM_UNDO, 0, 0
End Sub
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now