![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
SendMessage [D6, Win2k]
Shrek © (2002-09-09 19:55:00)Привет Дюди! У меня такая проблема, исполюзую:
SendMessage(GetFocus, WM_PASTE, 0, 0);
для вставки текста из буфера, и для Word-да не работает. Может кто сталкивался с такой проблемой. Помогите кто может!
TTCustomDelphiMaster (2002-09-09 21:21:00) [1]This example copies and pastes the first table in the active document into a new document.
If ActiveDocument.Tables.Count >= 1 Then
ActiveDocument.Tables(1).Range.Copy
Documents.Add.Content.Paste
End If
This example copies the first paragraph in the document and pastes it at the insertion point.
ActiveDocument.Paragraphs(1).Range.Copy
Selection.Collapse Direction:=wdCollapseStart
Selection.Paste
Shrek (2002-09-09 20:26:00) [2]Да об этом я знаю.
Но всётаки существует ли способ?
TTCustomDelphiMaster (2002-09-09 20:20:00) [3]Word это вам не notepad, с ним такой номер не пройдет.